Leviticus 12:1-8
12 And Jehovah spoke to Moses, saying
2 “Speak to the sons of Israel, saying ‘When a woman has issue and bears a male she shall be unclean seven days; she shall have the same uncleanness as in her days of menstruation.
3 And on the eighth day he shall have the flesh of his foreskin circumcised,
4 and thirty-three days she shall stay in blood of cleansing; she shall not touch anything sacred nor go into the sanctuary till her days of cleansing are complete.
5 And if she bears a female she shall be unclean fourteen days as in her menstruation, and sixty-six days she shall stay in blood of cleansing.
6 And when her days of cleansing are complete, for a son or for a daughter, she shall bring a lamb of the same year for a burnt-offering and a squab or turtledove for a sin-offering to the door of the Tent of Meeting to the priest,
7 and he shall present it before Jehovah and purge her and cleanse her from her flow of blood. These are the instructions for a woman who gives birth, whether to a male or to a female.
8 And if she cannot lay hands on enough for a sheep she shall take two turtledoves or two squabs, one for a burnt-offering and one for a sin-offering, and the priest shall purge her and she shall be clean.’”