Leviticus 22:27-30
22:27 “When an ox, lamb, or goat is born, it must be under the care of its mother seven days, but from the eighth day onward it will be acceptable as an offering gift to the Lord.
22:28 You must not slaughter an ox or a sheep and its young on the same day.
22:29 When you sacrifice a thanksgiving offering to the Lord, you must sacrifice it so that it is acceptable for your benefit.
22:30 On that very day it must be eaten; you must not leave any part of it over until morning. I am the Lord.