It was narrated from Hujayyah bin ‘Adiyy that A man asked `Ali (رضي الله عنه) about a cow. He said: on behalf of seven people. He said: its horns? He said: It does not matter. He said: one that is lame? He said: If it can reach the place of sacrifice . He said: The Messenger of Allah (ﷺ) commanded us to check the eyes and ears. It was narrated that Salamah bin Kuhail said: l heard Hujayyah bin `Adiyy say: I heard `Ali bin Abi Talib (رضي الله عنه) when a man asked him... and he narrated the same hadeeth.
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا عَبْدُ الرَّحْمَنِ، عَنْ سُفْيَانَ، وَشُعْبَةَ، وَحَمَّادِ بْنِ سَلَمَةَ، عَنْ سَلَمَةَ بْنِ كُهَيْلٍ، عَنْ حُجَيَّةَ بْنِ عَدِيٍّ، أَنَّ رَجُلًا، سَأَلَ عَلِيًّا رَضِيَ اللَّهُ عَنْهُ عَنْ الْبَقَرَةِ فَقَالَ عَنْ سَبْعَةٍ قَالَ الْقَرَنُ قَالَ لَا يَضُرُّكَ قَالَ فَالْعَرْجَاءُ قَالَ إِذَا بَلَغَتْ الْمَنْسَكَ قَالَ وَأَمَرَنَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنْ نَسْتَشْرِفَ الْعَيْنَ وَالْأُذُنَ حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ حَدَّثَنَا شُعْبَةُ عَنْ سَلَمَةَ بْنِ كُهَيْلٍ قَالَ سَمِعْتُ حُجَيَّةَ بْنَ عَدِيٍّ قَالَ سَمِعْتُ عَلِيَّ بْنَ أَبِي طَالِبٍ رَضِيَ اللَّهُ عَنْهُ وَسَأَلَهُ رَجُلٌ فَذَكَرَ الْحَدِيثَ.
sunnah.com