Deuteronomy 17:1

New International Version Bible (NIV)
Do not sacrifice to the Lord your God an ox or a sheep that has any defect or flaw in it, for that would be detestable to him.

Read Deuteronomy 17:1 in other translations