WAYYIQRA (Leviticus) 12
1 And יהוה spoke to Mosheh, saying,
2 "Speak to the children of Yisra'ĕl, saying, ‘When a woman has conceived, and has given birth to a male child, then she shall be unclean seven days, as in the days of her monthly separation she is unclean.
3 ‘And on the eighth day the flesh of his foreskin is circumcised.
4 ‘And she remains in the blood of her cleansing thirty-three days. She does not touch whatever is qodesh, and she does not come into the Miqdash until the days of her cleansing are completed.
5 ‘But if she gives birth to a female child, then she shall be unclean for two weeks, as in her monthly separation, and she remains in the blood of her cleansing for sixty-six days.
6 ‘And when the days of her cleansing are completed, for a son or for a daughter, she brings to the kohen a lamb a year old, as a burnt offering, and a young pigeon or a turtledove as a sin offering, to the door of the Tent of Appointment.
7 ‘And he shall bring it before יהוה, and make atonement for her, and she shall be cleansed from the flow of her blood. This is the Torah for her who has given birth to a male or a female.
if she is not able to bring a lamb, then she shall bring two turtledoves or two young pigeons, one as a burnt offering and
the other as a sin offering. And the kohen shall make atonement for her, and she shall be clean.' "