Leviticus 27:33
You may not pick and choose between good and bad animals, and you may not substitute one for another. But if you do exchange one animal for another, then both the original animal and its substitute will be considered holy and cannot be bought back.”