Leviticus 22:27

Thomson(i) 27 With respect to a young bull, or a sheep, or a goat, when it is brought forth, it must be seven days under its dam, and on the eighth day, and thenceforward, it will be accepted as a gift for an homage offering to the Lord.