Sahih al-Bukhari, Book 61, Hadith 2 (In-Book) ⓘ
Narrated Abu Huraira: Once Allah's Messenger was asked, "Who is the most honorable amongst the people?" He said, "The most righteous (i.e. Allah-fearing) amongst you." They said, "We do not ask you about this." He said, "Then Joseph, the prophet of Allah."
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ عُبَيْدِ اللَّهِ، قَالَ حَدَّثَنِي سَعِيدُ بْنُ أَبِي سَعِيدٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ ـ رضى الله عنه ـ قَالَ قِيلَ يَا رَسُولَ اللَّهِ مَنْ أَكْرَمُ النَّاسِ قَالَ " أَتْقَاهُمْ ". قَالُوا لَيْسَ عَنْ هَذَا نَسْأَلُكَ. قَالَ " فَيُوسُفُ نَبِيُّ اللَّهِ ".
also referenced under: Hadith 3490 (DarusSalam) & Volume 4, Book 56, Hadith 696 (USC-MSA)