Leviticus 22:26-33

26 The LORD said to Moses,
27 “When a calf, a lamb or a goat is born, it is to remain with its mother for seven days. From the eighth day on, it will be acceptable as a food offering presented to the LORD.
28 Do not slaughter a cow or a sheep and its young on the same day.
29 “When you sacrifice a thank offering to the LORD, sacrifice it in such a way that it will be accepted on your behalf.
30 It must be eaten that same day; leave none of it till morning. I am the LORD.
31 “Keep my commands and follow them. I am the LORD.
32 Do not profane my holy name, for I must be acknowledged as holy by the Israelites. I am the LORD, who made you holy
33 and who brought you out of Egypt to be your God. I am the LORD.”