30 You shall do likewise with your cattle and with your sheep. It shall be with its mother seven days, then on the eighth day you shall give it to me.
Exodus 22:30 Cross References - WEB
Exodus 13:12
12 that you shall set apart to Yahweh all that opens the womb, and every firstborn that comes from an animal which you have. The males shall be Yahweh’s.
Leviticus 12:3
3 In the eighth day the flesh of his foreskin shall be circumcised.
Leviticus 22:27
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 Yahweh.
Deuteronomy 15:19
19 You shall dedicate all the firstborn males that are born of your herd and of your flock to Yahweh your God. You shall do no work with the firstborn of your herd, nor shear the firstborn of your flock.