Firstly, Islam completely denounces racism. It does not even tolerate social discrimination between people on account of their race, colour, gender, or financial status. The only criterion of superiority among people in the sight of Allah has been made clear in Surat Al-Hujurat, verse no. 13, where Almighty Allah says:
“O mankind. We have created you from a single male and female and made you into nations and tribes so that you may know each other The most honorable of you in the sight of Allah are surety the righteous.” (Al-Hujurat: 13)
Also the Prophet, peace and blessings be upon him, has made it clear that all of us have been created of the same origin and that there is no ground for distinction between Arab and non-Arab Muslims: ””O people. You are all to Adam and Adam was made of dust. No Arab is to be preferred over a non-Arab except by virtue of his piety.”
He, peace and blessings be upon him, is also reported to have said: “Allah does not look at your images or your colours but He looks at your hearts (intentions) and your deeds. Creatures are the dependants of Allah and the closest among them to Allah are indeed the most useful to His dependants.”
Sheikh Hamed Al-`Ali, instructor of Islamic Heritage at the Faculty of Education, Kuwait and Imam of Dahiat As-Sabahiyya Mosque, states that: “Hajar was an Egyptian, but there is no Daleel (proof) that she was black. Also she was not from the north or Saudi Arabia; that is why the Prophet, peace and blessings be upon him, said: “Treat the people of Egypt kindly, for you owe them the courtesy of blood-tie and relation by marriage .” The “blood-tie” the Prophet, peace and blessings be upon him, meant in the Hadith is that the uncles of Isma’eel (Ishmael), the grandfather of the Prophet, peace and blessings be upon him, were Egyptians because Isma’eel’s mother, Hajar, was Egyptian, and the then king of Egypt presented her to Ibraheem (Abraham), peace be upon him. Then Sarah, Prophet Ibraheem’s wife, felt jealous of Hajar, so Ibraheem, peace be upon him, migrated with her to Makkah and left her there, and she gave birth to her son Isma’eel.
As for the “relation by marriage”, it is that the mother of the Prophet’s son, Ibraheem, who died young, was Mariyyah Al-Qibtiyyah, and she was also Egyptian; the then King of Egypt, Al-Muqawqis, presented her to the Prophet, peace and blessings be upon him. That is why Egyptians have also a relation by marriage to the Prophet, peace and blessings be upon him, because they were the people where Marriyyah came from.”