Leviticus 22:23-25 New Living Translation (NLT)

23. If a bull or lamb has a leg that is too long or too short, it may be offered as a voluntary offering, but it may not be offered to fulfill a vow.

24. If an animal has damaged testicles or is castrated, you may not offer it to the lord. You must never do this in your own land,

25. and you must not accept such an animal from foreigners and then offer it as a sacrifice to your God. Such animals will not be accepted on your behalf, for they are mutilated or defective.”

Leviticus 22