[Machine] He came to the Messenger of Allah ﷺ and the Prophet ﷺ heard them referring to him as "Abu al-Hakam" (the father of wisdom). The Prophet ﷺ said, "Indeed, Allah is the Wisest. Why do you call him 'Abu al-Hakam'?" They replied, "Whenever my people have a dispute, I judge between them, and both parties are satisfied with my judgment." The Prophet ﷺ asked, "Do you have children?" He replied, "Shurayh, Abdullah, Musli, sons of Hanif." The Prophet ﷺ then asked, "Who among them is the oldest?" He replied, "Shurayh." The Prophet ﷺ said, "Then you are Abu Shurayh," and he prayed for him and his children. "I have mentioned in the book of knowledge in the mention of the Makhzumites, Shurayh bin Hanif, who lived in the Jahiliyyah era and embraced Islam, but did not see the Messenger of Allah ﷺ . He belonged to the generation that followed." Al-Dhahabi remained silent about him in his summary.
أَنَّهُ وَفَدَ إِلَى رَسُولِ اللَّهِ ﷺ فَسَمِعَهُ النَّبِيُّ ﷺ يُكَنُّونَهُ بِأَبِي الْحَكَمِ فَقَالَ «إِنَّ اللَّهَ هُوَ الْحَكَمُ لِمَ تُكَنَّى بِأَبِي الْحَكَمِ؟» قَالَ إِنَّ قَوْمِي إِذَا اخْتَلَفُوا حَكَمْتُ بَيْنَهُمْ فَرَضِيَ الْفَرِيقَانِ قَالَ «هَلْ لَكَ وَلَدٌ؟» قَالَ شُرَيْحٌ وَعَبْدُ اللَّهِ وَمُسْلِمٌ بَنُو هَانِئٍ قَالَ «فَمَنْ أَكْبَرُهُمْ؟» قَالَ شُرَيْحٌ قَالَ «فَأَنْتَ أَبُو شُرَيْحٍ فَدَعَا لَهُ وَلِوَلَدِهِ» «وَقَدْ ذَكَرْتُ فِي كِتَابِ الْمَعْرِفَةِ فِي ذِكْرِ الْمُخَضْرَمِينَ شُرَيْحَ بْنَ هَانِئٍ فَإِنَّهُ أَدْرَكَ الْجَاهِلِيَّةَ وَالْإِسْلَامَ وَلَمْ يَرَ رَسُولَ اللَّهِ ﷺ فَصَارَ عِدَادُهُ فِي التَّابِعِينَ» سكت عنه الذهبي في التلخيص