Leviticus 22:23

22:23 As for an ox or a sheep with a limb too long or stunted, you may present it as a freewill offering, but it will not be acceptable for a votive offering.

Leviticus 22:29

22:29 When you sacrifice a thanksgiving offering to the Lord, you must sacrifice it so that it is acceptable for your benefit.