Bulugh al-Maram, Book 12, Hadith 1393 (English)

'Ali (RAA) narrated, 'Allah's Messenger enjoined us to pay great attention to the eye and the ear and not sacrifice a one-eyed animal with a slit which leaves something hanging at the front or back of the ear, or with a perforation in the ear, or an animal with broken front teeth.' Related by Ahmad and the four Imams. At-Tirmidhi, Ibn Hibban and Al-Hakim graded it as Sahih.

وَعَنْ عَلِيٍّ ‏- رضى الله عنه ‏- قَالَ: { أَمَرَنَا رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-أَنْ نَسْتَشْرِفَ اَلْعَيْنَ وَالْأُذُنَ, وَلَا نُضَحِّيَ بِعَوْرَاءَ, وَلَا مُقَابَلَةٍ, وَلَا مُدَابَرَةٍ, وَلَا خَرْمَاءَ, وَلَا ثَرْمَاءَ" } أَخْرَجَهُ أَحْمَدُ, وَالْأَرْبَعَة ُ (1773)‏.‏ وَصَحَّحَهُ اَلتِّرْمِذِيُّ, وَابْنُ حِبَّانَ, وَالْحَاكِم ُ (1774)‏.‏ ‏1 ‏- كذا "الأصل" وفي "أ" : "الخمسة".‏‏2 ‏- ضعيف.‏ وفي "الأصل" تفصيل طرقه ورواياته.‏

sunnah.com

also referenced under: Book 12, Hadith 1352 (In-Book)