Leviticus 27:10

Amplified Bible (AMP)
He shall not replace it or exchange it, a good for a bad, or a bad for a good; but if he does exchange an animal for an animal, then both the original offering and its substitute shall be holy.

Read Leviticus 27:10 in other translations