Sahih al-Bukhari, Book 61, Hadith 2 (Bukhari 3343)

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."