Deuteronomy 15:21

15:21 If they have any kind of blemish – lameness, blindness, or anything else – you may not offer them as a sacrifice to the Lord your God.

Deuteronomy 17:1

17:1 You must not sacrifice to him a bull or sheep that has a blemish or any other defect, because that is considered offensive to the Lord your God.