Leviticus.
Chapter 12.
The LORD said to Moses, 
“Tell the Israelites: “When a woman gives birth, she will be unclean, just as she is during her monthly time of bleeding. If the baby is a boy, the mother will be unclean for seven days. 
The baby boy must be circumcised on the eighth day. 
Because of the blood from childbirth, another 33 days must pass before she can touch anything that is holy. She must not enter the Holy Place until the time of her purification is finished. 
But if she gives birth to a girl, the mother will be unclean for 14 days, just as she is during her monthly time of bleeding. Because of the blood from childbirth, another 66 days must pass before she becomes clean. 
“After the time of her purification is finished, the new mother of a baby girl or boy must bring special sacrifices to the Meeting Tent. She must give her sacrifices to the priest at the entrance of the Meeting Tent. She must bring a one-year-old lamb for a burnt offering and a dove or young pigeon for a sin offering. 
If the woman cannot afford a lamb, she may bring two doves or two young pigeons. One bird will be for a burnt offering and one for a sin offering. The priest will offer them before the LORD. In this way the priest will make her pure, and she will be clean from the blood of childbirth. These are the rules for a woman who gives birth to a baby boy or a baby girl.” 
