Leviticus 27:9

"If it is an animal that men may bring as an offering to the LORD, all that anyone gives to the LORD shall be holy.

Surrounding context

27:8 "But if he is too poor to pay your valuation, then he shall present himself before the priest, and the priest shall set a value for him; according to the ability of him who vowed, the priest shall value him.

27:9 "If it is an animal that men may bring as an offering to the LORD, all that anyone gives to the LORD shall be holy.

27:10 He shall not substitute it or exchange it, good for bad or bad for good; and if he at all exchanges animal for animal, then both it and the one exchanged for it shall be holy.

Translation and sources