Sahih al-Bukhari 4689: Righteousness, Purity and Avoiding Doubtful Matters
Hazrat Abu Hurairah (ra) relates that the Messenger of Allah (saw) was asked: “Who among people is the most honoured?” He said: “The most honoured of them in the sight of Allah is the one who is most righteous.” The people said: “We are not asking you about this.” He said: “Then the noblest of all people is Joseph (as), the Prophet (saw) of Allah, son of a Prophet of Allah, grandson of a Prophet of Allah, and great-grandson of the Friend of Allah (Khalilullah).” They said: “We are not asking you about this either.” He said: “Then are you asking me about the families of the Arabs?” They said: “Yes.” He said: “Those of you who were the best in the Age of Ignorance are the best in Islam too, provided they learn and understand the religion.”
AI-translated by Islam-Today
Book 12: Righteousness, Purity and Avoiding Doubtful Matters