Leviticus 27:10

10 aHe shall not exchange it or make a substitute for it, good for bad, or bad for good; and if he does in fact substitute one animal for another, then both it and the substitute shall be holy.

Leviticus 27:14

14“When a man dedicates his house as a holy gift to the Lord, the priest shall value it as either good or bad; as the priest values it, so it shall stand.
Copyright information for ESV