Abu Hurairah reported,

The Prophet ﷺ was asked, "Who is the most noble of people?"He replied, "The most God-fearing among them."They said, "That is not what we are asking you about."He said, "Then it is Yusuf, the prophet of Allah, son of the prophet of Allah, son of the prophet of Allah, son of the friend of Allah."They said, "That is not what we are asking you about."He said, "Are you asking me about the noble lineages of the Arabs? The best of them in the days of ignorance are the best of them in Islam, provided they gain understanding of the religion."

Azami 13369

Sahih

عن أبي هريرة قال

قيل للنبي: من أكرم الناس؟ قال: أتقاهم قالوا: ليس عن هذا نسألك؟ قال: فيوسف نبي الله ابن نبي الله ابن نبي الله ابن خليل الله قالوا: ليس عن هذا نسألك قال: فعن معادن العرب تسألوني؟ خيارهم في الجاهلية خيارهم في الإسلام إذا فقهوا.

الأعظمي 13369صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Tafsir of Surah Hujurat
Section
His saying, "Indeed, We have revealed to you the Book in truth so you may judge between the people by that which Allah has shown you. And do not be an advocate for the deceitful. And seek forgiveness of Allah, indeed"
Numbering
Jami al-Kamil 13369 (2nd edition)
Azami 13369