Equality in Islam:
Islam removes all burdens of boundaries and classes among the members of Islamic society to enable them to enjoy and exercise their due rights. In Islam it is not allowed to discriminate against anyone in any way. Race, color, country or language may not confer a special class or position on individuals in Islamic society. This was specifically emphasized to avoid differential treatment and discrimination between the privileged and the less privileged based on their color, race, social status, nationality or any other grounds.

This is based on the Ajat in the Qur'an al-Karim Sura An-Nisa (Women) 4:1, which is translated in meaning as follows:
(O people, fear your Lord, who created you from a single being; and from him He created his wife, and from them He created many men and women. And fear Allah, in whose name you ask one another, and (in the name of your) blood relatives aft. Verily Allah is watching over you. )

This is also based on the statement of the Prophet (Peace be upon him):
“O people, your Lord is One. Your (grand) father is one. All of you belong to Adam. Adam was created from clay (earth). Verily, the most honorable among you in the sight of your Lord Almighty Allah is the most pious among you. There is no superiority of an Arab over a non-Arab. There is no superiority of a non-Arab over an Arab. There is no superiority of a red person over a white person. Likewise, there is no superiority of a white person over a red person except in his degree of piety (awareness of the omnipresence of God Almighty Allah in life and actions).”

According to Islam, the basis of humanity with all its races is a source without any distinction. Islam does not tolerate false pride in ancestry, social status and the like. Allah's Messenger (Peace be upon him) says:
“Allah Almighty has banished the boasting of false pride that was common in the pre-Islamic era when individuals adopted the false pride of their ancestors. All humanity belongs (in lineage) to Adam (peace on them). Adam was created from clay (earth).”

Furthermore, as previously mentioned, Islam bans discrimination of all kinds. According to Islam, no racial discrimination is permitted or tolerated. The Jews and Christians used to view themselves as a superior people, race or class of people.

Based on this, Allah Almighty reveals the truth about the Jews and Christians in the Quran al-Karim Sura al-Maidah (the Table) 5:18, which is translated in meaning as follows:
(And the Jews and the Christians said: “We are the sons of Allah and His favorites.” Say: “Then why does He punish you for your sins? No, you are men of those He created.” He forgives whomever He wills and He punishes whomever He wills. And to Allah is the kingdom of the heavens and the earth and what is between them, and to Him is the return.”)

It is also reported that a companion of Allah's Messenger named Abu Dharr (May Allah be pleased with him) once called a black slave who served him as: "O son of the black lady."

When the Messenger of Allah (Peace be upon him) heard this, he turned to Abu Dharr (May Allah be pleased with him) and immediately said:
“Are you insulting this man with his own (black) mother? Verily you still have some habits from the pre-Islamic era. It's over. It's over. There is no special virtue or value of the son of a white woman over that of a black woman except in piety and righteousness or in her good deeds and actions.”

When Abu Dharr (May Allah be pleased with him) heard the Prophet (Peace be upon him)'s rebuke, he placed his head on the ground in front of his servant to step on it, even though the Prophet (Peace be upon him) had not ordered him to do so. Abu Dharr (May Allah be pleased with him) felt very bad and regretted what he had done, and this was the reason for laying his head on the ground for his black slave to step on, as retaliation and revenge for what he, his master had done to him. Abu Dharr (May Allah be pleased with him) wanted to severely punish and humiliate himself so that he would never repeat such a sin in the future.

All people are equal and without distinction in the various acts of worship. The rich, the poor, the leader, the peasant, the white, the black, the respected, the humbled are equal before Allah and without distinction in their acts of worship in Islam. All commands and prohibitions are applicable to everyone regardless of class, social status or race.

Allah Almighty says in the Quran al-Karim Sura Fussilat (Explained!) (41:46) translated according to meaning:
(If anyone does what is right, he does it for himself; and if anyone does evil, he acts against himself. And your Lord is never unjust towards people.)

The distinction of people before Allah (Almighty) face is due to their piety, righteousness, obedience to Allah (Almighty) commands.

Allah Almighty says in the Qur'an al-Karim Sura Huğurat (The Chambers) 49:13 translated in meaning:
(O people, We have created you from male and female and made you into nations and tribes, that you may know one another. Indeed, the most respected of you in the sight of Allah is the one who fears Allah. Verily Allah is All-Knowing, All-Aware.)

All individuals are treated equally in the Islamic Code of Law. Penalties, judgments and laws apply to all types of people without distinction. There are no specific types of punishments or sentences for any particular class of people. All people are equal in the jurisdiction of Islamic law. Not an individual and not a class of people e has immunity from Islamic law. A'ishah (may Allah be pleased with her) Mothers of the Believers reported that the Quraysh was concerned about a woman from the Makhzumiya who had stolen, and the Messenger of Allah (Peace be upon him) wanted to inflict corporal punishment on her case by amputating her hand.

The Quraish consulted among themselves and said:
“The best one who can speak to the Prophet (Peace be upon him) about the thief from the Makhzumiya is the most popular companion (and the son of his most popular companion) Usamah bin Zaid (May Allah be pleased with him).

Then Usamah (May Allah be pleased with him) spoke to the Prophet (Peace be upon him) about the woman from the Makhzumiya. After listening to Usamah (May Allah be pleased with him), Allah's Messenger (Peace be upon him) said: “O Usamah, are you interceding because of a punishment instituted by Allah? (How can you do that?)”

The Messenger of Allah (Peace be upon him) stood up as soon as he finished speaking to Usamah and delivered the following speech:
“The peoples (or nations) before you were destroyed because they left unpunished a distinguished person among them who stole, but when a poor, weak and gullible person among them stole, they punished him physically. By Allah! If Fatimah (May Allah be pleased with him), the daughter of Muhammad (Peace be upon him), stole (a value that would entail corporal punishment), I would cut off her hand.”

All residents of a country have the right to benefit from national resources. Accordingly, everyone is equal in this law. It means that all individuals have an equal right to receive a fair share of the national wealth. However, they will not be equal in the work they deliver. The first Khalif, Abu Bakr (May Allah be pleased with him) distributed the gifts equally among the Muslims. A group of people disagreed with him about this kind of division and argued: “O Khalif of the Prophet (Peace be upon him)! We notice that you distributed the gifts equally among the people. Nevertheless, some have certain values and advantages. We wish you had given special gifts to such individuals.”

Abu Bakr (May Allah be pleased with him) replied:
  “How can I speak of certain values and virtues of some of the individuals you mentioned? What I give is just support to live. Providing people with equal support is better than favoring certain individuals. As for those who have done extraordinary works for Islam, they will be rewarded by Allah (Almighty). As for worldly wealth, it is as much for the good, pious people as it is for the wicked. This wealth is not a reward for the deeds they performed.”

Every member of the Islamic society has a right to the wealth of the country and its natural resources. The Islamic Government must make every effort to secure jobs for its members and to exploit such natural resources. No one has the right to appropriate national natural resources, abuse them or use them for their own interests.

Allah Almighty says in the Quran al-Karim Surah Al-Mulk (The Reign) (67:15), which is translated in meaning as follows:
(It is He who has subjugated the earth to you; So walk in their ways and enjoy His provision. And the resurrection leads to Him.)

Islam declares all people to be equal in its explanations of human values. The only difference among people is the service that the individual renders to the society and community. Furthermore, Islam considers the religious, social or worldly services that individuals provide to their society and community. For example, Islam does not regard a hard-working person as giving up equal treatment when it comes to money and financial gains. Islam does not treat good and bad people equally in the case of reward and punishment.

Allah Almighty says in the Quran al-Karim Surah Al-An'am (The Cattle) 6:132, which is translated in meaning as follows:
(Everyone has rankings for what they have accomplished; and your Lord does not ignore what they do.)