When he came to the Messenger of Allah [SAW] and he heard them calling Hani' by the nickname of Abu Al-Hakam, the Messenger of Allah [SAW] called him and said to him: "Allah is Al-Hakam (the Judge) and judgment is His. Why are you known as Abu Al-Hakam?" He said: "If my people differ concerning something, they come to me, and I pass judgment among them, and both sides accept it." He said: "How good this is. Do you have any children?" He said: "I have Shuraih, and 'Abdullah, and Muslim." He said: "Who is the eldest of them?" He said: "Shuraih." He said: "Then you are Abu Shuraih," and he supplicated for him and his son. (Using translation from Nasāʾī 5387)
أَنَّهُ لَمَّا وَفَدَ إِلَى رَسُولِ اللهِ ﷺ مَعَ قَوْمِهِ سَمِعَهُ وَهُمْ يُكَنُّونَ هَانِئًا أَبَا الْحَكَمِ فَدَعَاهُ رَسُولُ اللهِ ﷺ فَقَالَ لَهُ «إِنَّ اللهَ هُوَ الْحَكَمُ وَإِلَيْهِ الْحُكْمُ فَلِمَ تُكَنَّى أَبَا الْحَكَمِ؟» قَالَ إِنَّ قَوْمِي إِذَا اخْتَلَفُوا فِي شَيْءٍ أَتَوْنِي فَحَكَمْتُ بَيْنَهُمْ فَرَضِيَ كِلَا الْفَرِيقَيْنِ فَقَالَ «مَا أَحْسَنَ مِنْ هَذَا فَمَا لَكَ مِنَ الْوَلَدِ؟» قَالَ لِي شُرَيْحٌ وَعَبْدَ اللهِ وَمُسْلِمٌ قَالَ «مَنْ أَكْبَرُهُمْ؟» قَالَ شُرَيْحٌ قَالَ فَأَنْتَ أَبُو شُرَيْحٍ وَدَعَا لَهُ وَلِوَلَدِهِ