Leviticus 22:27-28

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.