Justice is a central theme in the Qur’an, dictating the traditions of law and how they should be put into practice. There are two ways in which justice operates: in a legal sense and in a divine sense. Regarding justice in the legal sense, the Qur’an tells Muslims not only how to conduct themselves, but is also highly important regarding relationships with other people. It states what the various punishments for certain crimes should be along with the justification behind this reasoning. Furthermore, the Qur’an brings across the idea that anyone who propagates the message of justice and acts accordingly will be justly rewarded with their place in jannah. With regard to divine justice, there has been a discourse between many commentators debating how justice will be fulfilled for different people, although all agree that Allah shall not do any injustice. The Qur’an repeatedly emphasizes that Allah does not wrong anyone even by an atom’s weight (Qur’an 4:40). While non-Muslims may receive reward for their good deeds in this worldly life, the Qur’an is explicit that ultimate salvation in the Hereafter is conditional upon faith in Allah and His final Messenger. For instance, it says: 'And We will regard what they have done of deeds and make them as dust dispersed' (Qur’an 25:23). Classical commentators such as Ibn Kathir explain that the verse (2:62) about Jews, Christians, and Sabians refers to those among them who truly followed their prophets before the advent of Prophet Muhammad ﷺ, but after his coming, faith in him became essential for acceptance in the Hereafter ...essential for acceptance in the Hereafter. 3
., and from these verses, it can be inferred directly that Creator i.e. Allah has nothing to do with religious background but the good deeds of the actor will always be rewarded both in this world and hereafter too, enshrining the justice for all by Allah.
Justice
Originally the Concept of Justice within the Qur’an was a broad term that applied to the individual. Over time, Islamic thinkers thought to unify political, legal and social justice which made Justice a major interpretive theme within the Qur'an. Justice can be seen as the exercise of reason and free will or the practice of judgment and responsibility. The practices and exercises were guided by two Islamic words: Huquq (rights) or obligations one owes and Hsan (generosity beyond obligation). These words created a guideline for Muslims to abide by.
“Central to the prophetic conception of justice are three features: relationships among men and toward God are reciprocal in nature, and justice exists where this reciprocity guides all interaction; justice is both a process and a result of equating otherwise dissimilar entities; and because relationships are highly contextual, justice is to be grasped through its multifarious enactments rather than as a single abstract principle.”
The Qur'an places great emphasis on knowledge, and the pursuit thereof, as valuable (49:9), but links the intellectual well-being of people to a profound awareness of God and justice, and emphasizes the compatibility of knowledge with faith (35:28, 05:89, 58:11).
Justice assumes such prominence in the Qur˒an that it is regarded as one of the reasons why God created the earth. The demands that the Quran makes upon individuals to uphold justice and oaths is extraordinary, transcending all bonds of family and society. While justice is something that one demands for oneself, more importantly, it is something to be fulfilled for others, regardless of the cost to oneself, one's relatives or one's own community.
And eat up not one another's property unjustly (in any illegal way e.g. stealing, robbing, deceiving, etc.), nor give bribery to the rulers (judges before presenting your cases) that you may knowingly eat up a part of the property of others sinfully. Sura Al-Baqara:188 (2:188) Allah will not punish you for the oaths you make accidentally, but He will punish you for the oaths you make intentionally; for the expiation of oaths made or violated accidentally feed ten Masakin (poor persons), on a scale of the average of that with which you feed your own families; or clothe them; or manumit a slave. But whosoever cannot afford (that), then he should fast for three days. That is the expiation for the oaths that you have sworn or broken accidentally. So protect your intentional oaths as Allah has made it clear to you in His Ayat so that you may be grateful. Sura Al-Ma'ida:89 (5:89). Verily! Allah commands that you should render back the trusts to those to whom they are due; and that when you judge between men, you judge with justice. Verily, how excellent is the teaching which He (Allâh) gives you! Truly, Allâh is Ever All-Hearer, All-Seer. Sura An-Nisa:58 (4:58) But no, by your Lord, they can have no Faith, until they make you (O Muhammad) judge in all disputes between them, and find in themselves no resistance against your decisions, and accept (them) with full submission. Sura An-Nisa:65 (4:65) It is not for a believer to kill a believer except (that it be) by mistake; and whosoever kills a believer by mistake, (it is ordained that) he must set free a believing slave and a compensation (blood-money, i.e. Diya) be given to the deceased's family unless they remit it. If the deceased belonged to a people at war with you and he was a believer, the freeing of a believing slave (is prescribed); and if he belonged to a people with whom you have a treaty of mutual alliance, compensation (blood-money - Diya) must be paid to his family, and a believing slave must be freed. And who so finds this (the penance of freeing a slave) beyond his means, he must fast for two consecutive months in order to seek repentance from Allâh. And Allâh is Ever All-Knowing, All-Wise. Sura An-Nisa:92 (4:92) And whoever earns a fault or a sin and then throws it on to someone innocent, he has indeed burdened himself with falsehood and a manifest sin. Sura An-Nisa:112 (4:112) O ye who believe! Be ye staunch in justice, witnesses for Allah, even though it be against yourselves or (your) parents or (your) kindred, whether (the case be of) a rich man or a poor man, for Allah is nearer unto both (them ye are). So follow not passion lest ye lapse (from truth) and if ye lapse or fall away, then lo! Allah is ever Informed of what ye do. Sura An-Nisa:135 (4:135) O you who believe! Fulfil (your) obligations. Lawful to you (for food) are all the beasts of cattle except that which will be announced to you (herein), game (also) being unlawful when you assume Ihrâm for Hajj or ‘Umrah (pilgrimage). Verily, Allâh commands that which He wills. Sura Al-Ma'ida (5:1) And (as for) the male thief and the female thief, cut off (from the wrist joint) their (right) hands as a recompense for that which they committed, a punishment by way of example from Allâh. And Allâh is All-Powerful, All-Wise. Sura Al-Ma'ida:38 (5:38) (They like to) listen to falsehood, to devour anything forbidden. So if they come to you (O Muhammad), either judge between them, or turn away from them. If you turn away from them, they cannot hurt you in the least. And if you judge, judge with justice between them. Verily, Allâh loves those who act justly. Sura Al-Ma'ida:42 (5:42) But how do they come to you for decision while they have the Taurât (Torah), in which is the (plain) Decision of Allâh; yet even after that, they turn away. For they are not (really) believers. Sura Al-Ma'ida:43 (5:43) Verily, We did send down the Taurât (Torah) [to Mûsâ (Moses)], therein was guidance and light, by which the Prophets, who submitted themselves to Allâh’s Will, judged for the Jews. And the rabbis and the priests [too judged for the Jews by the Taurât (Torah) after those Prophets], for to them was entrusted the protection of Allâh’s Book, and they were witnesses thereto. Therefore fear not men but fear Me (O Jews) and sell not My Verses for a miserable price. And whosoever does not judge by what Allâh has revealed, such are the Kâfirûn (i.e. disbelievers - of a lesser degree as they do not act on Allâh’s Laws). Sura Al-Ma'ida:44 (5:44) And We ordained therein for them (The Jews): "Life for life, eye for eye, nose for nose, ear for ear, tooth for tooth, and wounds equal for equal." But if anyone remits the retaliation by way of charity, it shall be for him an expiation. And whosoever does not judge by that which Allâh has revealed, such are the Zâlimûn (polytheists and wrong-doers - of a lesser degree). Sura Al-Ma'ida:45 (5:45) Let the people of the Injeel (Gospel) judge by what Allâh has revealed therein. And whosoever does not judge by what Allâh has revealed (then) such (people) are the Fâsiqûn [the rebellious i.e. disobedient (of a lesser degree)] to Allâh. Sura Al-Ma'ida:47 (5:47) And so judge (you O Muhammad) among them by what Allâh has revealed and follow not their vain desires, but beware of them lest they turn you (O Muhammad) far away from some of that which Allâh has sent down to you. And if they turn away, then know that Allâh's Will is to punish them for some sins of theirs. And truly, most of men are Fâsiqûn (rebellious and disobedient to Allâh). Sura Al-Ma'ida:49 (5:49) Do they then seek the judgement of (the days of) Ignorance? (pre-Islam) And who is better in judgement than Allâh for a people who have firm Faith. Sura Al-Ma'ida:50 (5:50) O you who believe! Kill not the game while you are in a state of Ihrâm [for Hajj or ‘Umrah (pilgrimage)], and whosoever of you kills it intentionally, the penalty is an offering, brought to the Ka‘bah, of an eatable animal (i.e. sheep, goat, cow) equivalent to the one he killed, as adjudged by two just men among you; or, for expiation, he should feed Masâkîn (poor persons), or its equivalent in Saum (fasting), that he may taste the heaviness (punishment) of his deed. Allâh has forgiven what is past, but whosoever commits it again, Allâh will take retribution from him. And Allâh is All-Mighty, All-Able of Retribution. Sura Al-Ma'ida:59 (5:59) Say (O Muhammad): "I am on clear proof from my Lord (Islâmic Monotheism), but you deny it (the truth that has come to me from Allâh). I have not gotten what you are asking for impatiently (the torment). The decision is only for Allâh, He declares the truth, and He is the Best of judges." Sura Al-An'am:57 (6:57) Then they are returned to Allâh, their True Maulâ [True Master (God), the Just Lord (to reward them)]. Surely, for Him is the judgement and He is the Swiftest in taking account. Sura Al-An'am:62 (6:62) [Say (O Muhammad)] "Shall I seek a judge other than Allâh while it is He Who has sent down unto you the Book (the Qur’ân), explained in detail." Those unto whom We gave the Scripture [the Taurât (Torah) and the Injeel (Gospel)] know that it is revealed from your Lord in truth. So be not you of those who doubt. Sura Al-An'am:114 (6:114) And if there is a party of you who believe in that with which I have been sent and a party who do not believe, so be patient until Allâh judges between us, and He is the Best of judges. Sura Al-A'raf:87 (7:87) And others are made to await for Allâh's Decree, whether He will punish them or will forgive them. And Allâh is All-Knowing, All-Wise. Sura At-Tawba:106 (8:106) Say: "Is there of your (Allâh’s so-called) partners one that guides to the truth?" Say: "It is Allâh Who guides to the truth. Is then He Who guides to the truth more worthy to be followed, or he who finds not guidance (himself) unless he is guided? Then, what is the matter with you? How judge you?" Sura Yunus (Jonah):10 (10:35) And (O Muhammad), follow the revelation sent unto you, and be patient till Allâh gives judgement. And He is the Best of judges. Sura Yunus (Jonah):109 (10:109)