Leviticus 22:27 in the King James Version
When a bullock, or a sheep, or a goat, is brought forth, then it shall be seven days under the dam; and from the eighth day and thenceforth it shall be accepted for an offering made by fire unto the LORD.
Context
26 The LORD spoke to Moses, saying,
27 “When a bull, a sheep, or a goat is born, it shall remain seven days with its mother. From the eighth day on it shall be accepted for the offering of an offering made by fire to the LORD.
28 Whether it is a cow or ewe, you shall not kill it and its young both in one day.