Leviticus 27:23-30
English Standard Version
Chapter 27
23then the priest shall calculate the amount of the valuation for it up to the year of jubilee, and the man shall give the valuation on that day as a holy gift to the Lord. 24In the year of jubilee the field shall return to him from whom it was bought, to whom the land belongs as a possession. 25Every valuation shall be according to the shekel of the sanctuary: twenty gerahs shall make a shekel.
26"But a firstborn of animals, which as a firstborn belongs to the Lord, no man may dedicate; whether ox or sheep, it is the Lord 's.
27And if it is an unclean animal, then he shall buy it back at the valuation, and add a fifth to it; or, if it is not redeemed, it shall be sold at the valuation.
28"But no devoted thing that a man devotes to the Lord, of anything that he has, whether man or beast, or of his inherited field, shall be sold or redeemed; every devoted thing is most holy to the Lord.
29No one devoted, who is to be devoted for destruction from mankind, shall be ransomed; he shall surely be put to death.