"Messenger of Allah, 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, 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 either."He said, "Then you are asking 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."Abu Usama and Mutamir reported it from Ubaydullah, from Saeed, from Abu Hurairah, from the Prophet ﷺ.
حدثنا علي بن عبد الله حدثنا يحيى بن سعيد حدثنا عبيد الله قال حدثني سعيد بن أبي سعيد عن أبيه
يا رسول الله من أكرم الناس قال أتقاهم فقالوا ليس عن هذا نسألك قال فيوسف نبي الله ابن نبي الله ابن نبي الله ابن خليل الله قالوا ليس عن هذا نسألك قال فعن معادن العرب تسألون خيارهم في الجاهلية خيارهم في الإسلام إذا فقهوا قال أبو أسامة ومعتمر عن عبيد الله عن سعيد عن أبي هريرة عن النبي ﷺ
10 - We have also cited the hadith of Yahya Qattan, from Ubaydullah, from Saeed, from his father, from Abu Hurairah, "It was said, O Messenger of Allah, who is the most honorable of people." Yahya was contradicted by a group of narrators, including Abu Usama, Ibn Numayr, Abda, Mutamir, Muhammad bin Bishr, and others, who narrated it from Ubaydullah, from Saeed, from Abu Hurairah, without mentioning "his father." Bukhari cited both versions together, while Muslim cited only the version of Yahya without those who contradicted him.
Bukhari's hadith. The Hafiz said in the Muqaddimah, after citing Daraqutni's statement, "I say, he did narrate it, and he did not fail to relate the disagreement concerning it." End of quote. Mutamir, Abu Usama, and others [narrated it], so in his view the matter remains open to either possibility, while the majority, and Yahya, hold otherwise. I say, Daraqutni in Ilal, volume 3, page 14, after mentioning the disagreement, states that the correct view is that of Yahya.