Exodus 13:2

13:2 “Set apart to me every firstborn male – the first offspring of every womb among the Israelites, whether human or animal; it is mine.”

Exodus 13:12-15

13:12 then you must give over to the Lord the first offspring of every womb. Every firstling of a beast that you have – the males will be the Lord’s. 13:13 Every firstling of a donkey you must redeem with a lamb, and if you do not redeem it, then you must break its neck. Every firstborn of your sons you must redeem.

13:14 In the future, when your son asks you ‘What is this?’ you are to tell him, ‘With a mighty hand the Lord brought us out from Egypt, from the land of slavery. 13:15 When Pharaoh stubbornly refused to release us, the Lord killed all the firstborn in the land of Egypt, from the firstborn of people to the firstborn of animals. That is why I am sacrificing to the Lord the first male offspring of every womb, but all my firstborn sons I redeem.’

Exodus 34:19

34:19 “Every firstborn of the womb belongs to me, even every firstborn of your cattle that is a male, whether ox or sheep.

Leviticus 27:26-27

Redemption of the Firstborn

27:26 “‘Surely no man may consecrate a firstborn that already belongs to the Lord as a firstborn among the animals; whether it is an ox or a sheep, it belongs to the Lord. 27:27 If, however, it is among the unclean animals, he may ransom it according to its conversion value and must add one fifth to it, but if it is not redeemed it must be sold according to its conversion value.

Numbers 18:15-16

18:15 The firstborn of every womb which they present to the Lord, whether human or animal, will be yours. Nevertheless, the firstborn sons you must redeem, and the firstborn males of unclean animals you must redeem. 18:16 And those that must be redeemed you are to redeem when they are a month old, according to your estimation, for five shekels of silver according to the sanctuary shekel (which is twenty gerahs).

Deuteronomy 12:6

12:6 And there you must take your burnt offerings, your sacrifices, your tithes, the personal offerings you have prepared, your votive offerings, your freewill offerings, and the firstborn of your herds and flocks.