Num Numbers, chapter Book of Numbers, chapter 18
Every thing that openeth the womb, of all flesh which they offer unto the LORD, both of man and beast, shall be thine; howbeit the first-born of man shalt thou surely redeem, and the firstling of unclean beasts shalt thou redeem. Exo 34:19