The Qur’an states:
"O people, O Mankind we have crated you from a single pair of a male and a female (Adam and Howwaa) and made you into nations and tribes, that you may know each other (not that you may despise each other). (49:13)
"Verily the most honoured of you in the sight of Allah (SWT) is (he who is) the most righteous of you." (49:13)
At the time of the Farewell sermon when Rasulullah (SM) was giving his farewell message to thousands of Companions while giving some fundamentals of Islam, he also gave this revolutionary advice: "Allah (SWT) has declared O people. We have surely created you from one male and one female and we have made amongst you nations and tribes so that you may know each other. Surely in the sight of Allah (SWT) the most honoured among you who is most righteous and god-fearing. So take note, there is no superiority for the Arab over the non-Arab or for the non-Arab over the Arab, neither has white one any superiority over the black one and nor has the black one anysuperiority over the white one, except as far as Tagwa is concerned. O people of Quraish let it not be that on the day of Qiyamat you come forth with the world on your shoulders while other people come forth with good deeds for the hereafter. Let it be known that merely because of your being of Quraish, I will be unable to save you from Allah, (with Allah the most important thing is your deeds).
On one occasion speaking against boasting about genealogical offspring Rasulullah (SM) called it "prejudice of the days of Ignorance," and strongly advised Muslims to avoid it at all costs.
"Through the call of Islam Allah (SWT) has removed from you the prejudices of the days of Ignorance and arrogance of boasting about genealogical ties and now a man is either a righteous believer or an evildoing wicked one. All humans are the sons of Adam and Adam (A) was created out of dust. (Abu Dawood, Tirmidhi)