Deuteronomy 15:21

But if there is a defect in it, if it is lame or blind or has any serious defect, you shall not sacrifice it to the LORD your God.

Surrounding context

15:20 You and your household shall eat it before the LORD your God year by year in the place which the LORD chooses.

15:21 But if there is a defect in it, if it is lame or blind or has any serious defect, you shall not sacrifice it to the LORD your God.

15:22 You may eat it within your gates; the unclean and the clean person alike may eat it, as if it were a gazelle or a deer.

Translation and sources