Deuteronomy 17:1

New American Standard Bible (NASB)
“You shall not sacrifice to the Lord your God an ox or a sheep which has a blemish or any [a]defect, for that is a detestable thing to the Lord your God.

Read Deuteronomy 17:1 in other translations