Leviticus 22:24-33

24 An animal with bruised, crushed, torn or cut genitals you are not to offer to ADONAI. You are not to do these things in your land,
25 and you are not to receive any of these from a foreigner for you to offer as bread for your God, because their deformity is a defect in them - they will not be accepted from you.'"
26 ADONAI said to Moshe,
27 "When a bull, sheep or goat is born, it is to stay with its mother for seven days; but from the eighth day on, it may be accepted for an offering made by fire to ADONAI.
28 However, no animal is to be slaughtered together with its young on the same day, neither cow nor ewe.
29 "When you offer a sacrifice of thanksgiving to ADONAI, you must do it in a way such that you will be accepted.
30 It must be eaten on the same day it is offered; leave none of it till morning; I am ADONAI.
31 "You are to keep my mitzvot and obey them; I am ADONAI.
32 You are not to profane my holy name; on the contrary, I am to be regarded as holy among the people of Isra'el; I am ADONAI, who makes you holy,
33 who brought you out of the land of Egypt to be your God; I am ADONAI."