Concerning his saying, "Who is the most honourable amongst mankind?" He said: "The most honourable of them is one who is the most pious of them." This means that the most honourable among the people is the most god-fearing among them. This reply agrees perfectly with Allah's saying - the Exalted:
"Verily the most honourable of you with Allah is that (believer) who has At Taqwa." (Al-Hujraat: 13)
Thus, Allah - free is He from all imperfections and Exalted is He - does not consider people based on reputation of lineage, family status, wealth or beauty. However, He - the Mighty and Sublime - rather looks at their deeds.
The most honourable of all humans in the sight of Allah is the most fearful of Him. Hence, the devout are strengthened with open and hidden extraordinary events because they are the most respected of all His creatures in His sight. Therefore, it encourages fearing Allah - the Mighty and Sublime -. In addition, the more a person fears Allah the more he becomes honourable before Him. However, the Companions - may Allah be pleased with them - did not intend with this question the most honourable with Allah.
They said: "We are not asking you about this" then he told them
that the most honourable of the whole humankind is Yoosuf. He is the son of a prophet of Allah, the son of a prophet of Allah, the son of the intimate friend of Allah. He is Yoosuf, son of Yaqub, son of Ishaaq, son of Ibraaheem. So he is a prophet from the progeny of prophets, and as such, he is one of the most Honourable of all mankind.
They clarified that, "We are not asking you about this." So he enquired, "Are you then asking me about the classes of the Arabs?" Classes of the Arabs; meaning, their origins and lineages; "The best of them in the Pre-Islamic Period of Ignorance are the best of them in Islam, provided they comprehend the religious knowledge." That is, the most honourable of people in terms of lineage, reputation and origin are also the best in Islam but with a condition, if they comprehend the religious knowledge.
For instance, the Hashim tribe; it is known that they are the best clan of Quraysh. So, they will be the best of them in Islam; but that is if they have understanding of the religion of Allah and learn it. If they have no understanding, even if they are the best of Arabs in status, they can never be the most honourable of all persons with Allah nor the elites of the creatures.
This affirms the fact that an individual gains honour through his lineage but that is subject to the condition that he has understanding of his religion. Undoubtedly, lineage has an impact, and so, the Hashim tribe is the best of all people and the most reputable of them in terms of lineage. It is for that reason the Messenger of Allah (ﷺ), who is the most honourable of all creatures, came from them:
"Allah knows best with whom to place His message." (Al-An'aam: 124)
If not that this family line among the children of Adam is the best of all kinship, the Prophet (ﷺ) would not have come from among them. Allah's Messenger (ﷺ) would not be raised except from the most honourable of all families and the finest of all lineages. The point of reference from this Hadeeth is the saying of the Messenger (ﷺ) that the most honourable of all mankind is the most fearful of them to Allah.
Therefore, if you wish to be honourable with Allah and of respected
status before Him, it is up to you to be fearful of Allah. The more a person increases in fear of Allah, the more he becomes reputable with Him. I ask Allah to make you and me among the pious.