Numbers 18:15

Whatever goes out first from the womb, of all flesh, which they offer to the Lord, whether from men or from cattle, shall be your right; yet only in so far as, for the firstborn of man, you shall accept a price. And every animal that is unclean you shall cause to be redeemed

Other versions

King James Version

Every thing that openeth the matrix in all flesh, which they bring unto the LORD, whether it be of men or beasts, shall be thine: nevertheless the firstborn of man shalt thou surely redeem, and the firstling of unclean beasts shalt thou redeem.

English Standard Version

Everything that opens the womb of all flesh, whether man or beast, which they offer to the LORD, shall be yours. Nevertheless, the firstborn of man you shall redeem, and the firstborn of unclean animals you shall redeem.

New International Version

The first offspring of every womb, both man and animal, that is offered to the LORD is yours. But you must redeem every firstborn son and every firstborn male of unclean animals.