Exodus 13:11-13
Exodus 13:11-13 AMP
“Now it shall be when the LORD brings you into the land of the Canaanite, as He swore to you and your fathers, and gives it to you, you shall set apart and dedicate to the LORD all that first opens the womb. All the firstborn males of your livestock shall be the LORD’S. Every firstborn of a donkey you shall redeem by [substituting] a lamb [as a sacrifice for it], but if you do not [wish to] redeem it, then you shall break its neck; and every firstborn among your sons you shall redeem [that is, ‘buy back’ from God with a suitable sacrifice].