Hujayyah bin ‘Adiyy, a man from Kindah, said: I heard a man ask `Ali (رضي الله عنه): I bought this cow to offer it as a sacrifice. He said: the horn? He said: It does not matter. He said: lame? He said: If it can reach the place of sacrifice, then sacrifice it. Then he said: The Messenger of Allah (ﷺ) commanded us to check the eyes and ears.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عَفَّانُ، حَدَّثَنَا شُعْبَةُ، قَالَ سَلَمَةُ بْنُ كُهَيْلٍ أَنْبَأَنِي قَالَ سَمِعْتُ حُجَيَّةَ بْنَ عَدِيٍّ، رَجُلًا مِنْ كِنْدَةَ قَالَ سَمِعْتُ رَجُلًا، سَأَلَ عَلِيًّا رَضِيَ اللَّهُ عَنْهُ قَالَ إِنِّي اشْتَرَيْتُ هَذِهِ الْبَقَرَةَ لِلْأَضْحَى قَالَ عَنْ سَبْعَةٍ قَالَ الْقَرْنُ قَالَ لَا يَضُرُّكَ قَالَ الْعَرَجُ قَالَ إِذَا بَلَغَتْ الْمَنْسَكَ فَانْحَرْ ثُمَّ قَالَ أَمَرَنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنْ نَسْتَشْرِفَ الْعَيْنَ وَالْأُذُنَ.
sunnah.com