Sahih Muslim 6138
The Book of Virtues
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، وَابْنُ، فُضَيْلٍ عَنِ الْمُخْتَارِ، ح وَحَدَّثَنِي عَلِيُّ بْنُ حُجْرٍ السَّعْدِيُّ، - وَاللَّفْظُ لَهُ - حَدَّثَنَا عَلِيُّ بْنُ مُسْهِرٍ، أَخْبَرَنَا الْمُخْتَارُ، بْنُ فُلْفُلٍ عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ يَا خَيْرَ الْبَرِيَّةِ . فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " ذَاكَ إِبْرَاهِيمُ عَلَيْهِ السَّلاَمُ " .
Anas b. Malik reported that a person came to Allah's Messenger (ﷺ) and said:O, the best of creation; thereupon Allah's Messenger (ﷺ) said: He is Ibrahim (peace be upon him)
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.