'Ali said, “God’s Messenger enjoined us to pay great attention to the eye and the ear, and not sacrifice an animal with a slit which leaves something hanging at the front or back of the ear, or with a lengthwise slit or a perforation in the ear."
Tirmidhi, Abu Dawud, Nasa’i, Darimi and Ibn Majah transmitted it, but Ibn Majah's words ended with "and the ear.”
Narrated Al-Bara’ b. ‘Azib said that when God's Messenger was asked what should be avoided in sacrificial animals he pointed with his hand* and said, "Four types:
a lame animal which obviously limps, a one-eyed animal which has obviously lost the sight of one eye, a sick animal which is obviously sick, and a lean animal which has no marrow.”
*i.e. his fingers.
Malik, Ahmad, Tirmidhi, Abu Dawud, Nasa’i, Ibn Majah and Darimi transmitted it.
I saw Ali sacrificing two rams and asked him the meaning of it. He replied, “God’s Messenger enjoined me to sacrifice on his behalf, so that is what I am doing.”
Abu Dawud transmitted it, and Tirmidhi transmitted something similar.