Num Numbers, chapter Book of Numbers, chapter 18
Every thing that openeth the womb in all basar, which they bring unto Hashem, whether it be of adam or behemah, shall be thine; nevertheless the bechor haadam shalt thou surely redeem, and the bechor habehemah hateme'ah shalt thou redeem. Exo 34:19