Abu Hurairah reported,

Someone asked, "Messenger of Allah, who are the most honorable of people?"He replied, "The most God-fearing among them."They said, "This 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, "This is not what we are asking you about."He said, "Then you are asking me about the 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 12563

Sahih

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

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

الأعظمي 12563صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And thus will your Lord choose you and teach you the interpretation of events and complete His favor upon you and upon the family of Yaqub, as He completed it upon your fathers before, Ibrahim and Ishaq. Indeed, your Lord is Aleem, Wise."
Numbering
Jami al-Kamil 12563 (2nd edition)
Azami 12563