General Context
The preceding verse reminded believers of Allah’s favor and the covenant with which He bound them when they said ﴿سَمِعْنَا وَأَطَعْنَا﴾ — “We hear and we obey” (5:7). This verse brings some of the gravest implications of that covenant into view. Believers are to establish justice, stand for the truth for Allah’s sake, and give equitable testimony even when dealing with people they despise and with whom they are bitterly at odds. The covenant of faith is an obligation whose effect becomes clear when a person faces a real choice between what he desires and what his Lord enjoins. Remembering a phrase or proclaiming a slogan when believers gather falls short of that commitment. One of the hardest tests comes when the person in the right is someone we dislike, or when the right lies against us or against someone we love. Then the truth of the covenant is tested, and the distance between faith professed and faith that governs conduct becomes apparent. Surah al-Ma'idah opened with Allah’s words ﴿أَوْفُوا بِالْعُقُودِ﴾ — “fulfill [all] contracts.” (5:1). Here it moves from keeping the covenant to establishing the standard that safeguards all covenants and rights. A person who discharges some of his duties while violating an opponent’s right is unfaithful to that standard. Nor does fidelity allow us to change the measure of a judgment on account of religion, nationality, or kinship.
Ibn Ashur brought out the connection between this verse and the covenant of faith:
“The verse we are explaining comes after the reminder of Allah’s covenant. The immediate occasion was to urge people to stand firm for Allah, that is, to honor their covenants with Him. This is why the expression { قوّامين }, ‘persistently standing firm’ (5:8), takes the preposition lam. Since the covenant was a testimony, He followed the words { قوّامين لله } — ‘persistently standing firm for Allah’ (5:8) — with { شهداء بالقسط } — ‘witnesses in justice’ (5:8). That is, they must bear witness justly, with no bias, above all in the testimony they bear for Allah Most High. Together the two verses make it obligatory to stand firm in justice and bear witness to it, and to stand firm for Allah and bear witness for Him.”
(Al-Tahrir wa-l-Tanwir — Muhammad al-Tahir Ibn Ashur)
The verse also recalls the prohibition at the opening of the surah, ﴿وَلَا يَجْرِمَنَّكُمْ شَنَآنُ قَوْمٍ أَنْ صَدُّوكُمْ عَنِ الْمَسْجِدِ الْحَرَامِ أَنْ تَعْتَدُوا﴾ — “And do not let the hatred of a people for having obstructed you from al-Masjid al-Haram lead you to transgress.” (5:2). Here the expression goes a step further. The earlier verse forbade aggression under the sway of hatred. This one requires that we practice justice toward those we hate. Keeping one’s hand from wrongdoing is a far different matter from taking action to give an opponent his due. The first means refraining from a prohibited act. The second is a positive commitment that requires impartiality, resolve, and moral courage. A person can forgo revenge while still harboring resentment. In compelling himself to testify justly on behalf of someone he hates, he confronts the power of enmity at a deeper level.
Sayyid Qutb noticed this connection between covenant and justice:
“Part of the covenant with which Allah bound the Muslim community is to uphold justice for humanity. Its scales are never tipped by affection or hatred, kinship, interest, or desire, whatever the circumstances. This justice springs from standing firm for Allah alone, safe from every other influence, and from being aware that Allah is watching and knows the things hidden within our breasts. Hence this call.”
(Fi Zilal al-Qur'an — Sayyid Qutb Ibrahim Husayn al-Shadhili)
The verse thus sets out a moral and legislative principle that extends far beyond a limited judicial ruling or the courtroom itself. It applies to people’s transactions, testimony, judgments, and attitudes. The justice required of us remains the same no matter whose right is at issue. A person’s bad character does not annul it, and an enemy’s benefiting from it does not make it wrong. Then come the closing words ﴿وَاتَّقُوا اللَّهَ إِنَّ اللَّهَ خَبِيرٌ بِمَا تَعْمَلُونَ﴾ — “And fear Allah; indeed, Allah is Acquainted with what you do.” (5:8). They ground justice in consciousness of Allah, beyond fear of punishment or a desire for a good reputation. The verse seems to say to the believer, when others cannot see how you judge and desires, interests, and enmities press in, remember that the One who commanded you to be just knows what you did, why you did it, and what motives you chose to conceal. The surah moves from purity to covenant, from covenant to justice, and from justice in conduct to reverence in the heart. The believer emerges as a whole person whose uprightness in worship stays inseparable from how fairly he treats Allah’s creation.
Rhetorical Outpourings
The text opens with a call to faith, ﴿يَا أَيُّهَا الَّذِينَ آمَنُوا﴾ — “O you who have believed” (5:8). The command ﴿كُونُوا قَوَّامِينَ لِلَّهِ﴾ follows — “be persistently standing firm for Allah” (5:8). The wording goes beyond a simple “Stand firm for Allah.” Bringing the verb “be” together with an intensive form turns what is being asked of people from an isolated act into an enduring quality of character. The word qawwamin is the plural of qawwam, an intensive that conveys taking great care over a duty, doing it continually, and attending to how it is performed. The point is steadfastness and thoroughness at one’s duty, beyond the amount of activity. Someone may be fair on one occasion, then draw back as his interests change. The person who stands firm for the truth makes uprightness his constant practice, more than one admirable exception in his life.
Muhammad Sayyid Tantawi explained this implication:
“In His call, glory be to Him, { كُونُواْ قَوَّامِينَ } — ‘be persistently standing firm’ (5:8) — the verb ‘be’ expresses constancy and the intensive form conveys frequency, to give obedience to Him a firm place in their souls and root it in their hearts. It is as if He told them to train themselves to obey their Creator and to make a habit of adhering to truth and justice. Make this your way in every situation and circumstance. Obeying and practicing justice once or twice will not suffice. You have a duty to hold to them at all times and in all that you do.”
(Al-Tafsir al-Wasit li-l-Qur'an al-Karim — Muhammad Sayyid Tantawi)
The preposition lam in ﴿لِلَّهِ﴾ — “for Allah” (5:8) — specifies the direction and purpose of standing firm. The truth remains independent of people’s approval, and justice is too serious to be traded for praise or position. One acts to seek Allah’s approval, whether the act pleases people or goes against their desires. With ﴿شُهَدَاءَ بِالْقِسْطِ﴾ — “witnesses in justice” (5:8) — the verse moves from the truth of the motive to soundness in practice. “Testimony” means bringing the truth one knows to light and establishing it accurately. “Justice” is equity that gives no ground to bias or wrongdoing. Testimony is a particularly exacting and consequential way of establishing what is right. A single word can protect a right or cost someone his right, save an innocent person or inflict an injustice on him.
A subtle rhetorical point emerges when we compare this verse with its counterpart in Surah al-Nisa. There Allah Most High says ﴿كُونُوا قَوَّامِينَ بِالْقِسْطِ شُهَدَاءَ لِلَّهِ﴾ — “be persistently standing firm in justice, witnesses for Allah” (4:135). In Surah al-Ma'idah He says ﴿كُونُوا قَوَّامِينَ لِلَّهِ شُهَدَاءَ بِالْقِسْطِ﴾ — “be persistently standing firm for Allah, witnesses in justice” (5:8). Both enjoin standing firm and bearing witness. The prepositional phrases change places with the setting. Surah al-Nisa confronts the tendency to favor oneself, one’s parents, or one’s relatives, so the command to stand in justice comes to the fore. Surah al-Ma'idah speaks to the danger of enmity and hatred. Standing for Allah comes first to direct the soul back to an authority beyond its anger and thirst for revenge.
Abu Hayyan explained how the wording suits the two settings:
“Whoever stands firm for Allah must bear witness in justice, and whoever stands firm in justice must stand firm for Allah. The verse in Surah al-Nisa concerns testifying against oneself, one’s parents, and close relatives. It therefore begins with equity, with fairness and even-handedness free of favoritism to oneself, a parent, or a relative. This verse concerns giving up enmity and rancor. It begins with standing firm for Allah Most High, as this gives believers a stronger restraint, then follows it with bearing witness in justice. The setting of affection and favoritism begins with the point that most needs emphasis, equity. The setting of enmity and hatred begins with standing firm for Allah. The words suit each setting in which they appear.”
(Al-Bahr al-Muhit fi al-Tafsir — Muhammad ibn Yusuf Abu Hayyan al-Andalusi)
Then He says, glory be to Him, ﴿وَلَا يَجْرِمَنَّكُمْ شَنَآنُ قَوْمٍ عَلَىٰ أَلَّا تَعْدِلُوا﴾ — “and do not let the hatred of a people prevent you from being just.” (5:8). The root of yajrimannakum in this usage conveys impelling someone to something and incurring something. The sense is to keep hatred from impelling you to incur injustice. The verb carries the sense of “to impel” and accordingly takes the preposition ‘ala, whose basic meaning is “upon.” The heavy emphatic nun strengthens the prohibition, as though warning of the force that can come over a person in a bitter dispute. Shana’an means intense hatred, and more than one reading and dialectal form is attested. The choice brings the addressee up against a powerful partiality of the soul, beyond any small difference of opinion. Justice that holds under bitter enmity has still more reason to hold in other dealings. A point worth pausing over is that the Qur'an commands justice while the hatred remains, without making its prior disappearance a condition. This draws a fine distinction between an inward feeling and the conduct required of us. A person may be unable to love someone who wronged him. The wrong gives him no warrant to testify falsely or pronounce an unjust decision.
Al-Zamakhshari showed how the passage moves from prohibition to command, then gives the reason for it:
“First He forbade them to let hatred cause them to depart from justice. Then He began anew and explicitly commanded justice, to emphasize it and make its requirement stronger. In a further clause He gave them the reason for the command to practice justice in His words { هُوَ أَقْرَبُ للتقوى } — ‘that is nearer to righteousness.’ (5:8). That is, justice is nearer to reverence for Allah and more closely suited to it. Or it means justice is nearer to reverence for Allah because it helps a person attain it. Here is a powerful reminder. If justice toward disbelievers who are Allah’s enemies is required so strongly, how much more incumbent is it toward believers who are His allies and beloved ones?”
(Al-Kashshaf 'an Haqa'iq Ghawamid al-Tanzil — Mahmud ibn Umar al-Zamakhshari)
The sentence ﴿اعْدِلُوا هُوَ أَقْرَبُ لِلتَّقْوَى﴾ — “Be just; that is nearer to righteousness.” (5:8) — gives the command and its reason together. The pronoun “that” refers to the justice understood from the command “Be just.” Practicing justice leads closer to complete reverence for Allah. The comparative “nearer” need not imply that injustice is another legitimate road to reverence. A comparative can show how close something is to the desired end without placing both sides on a level in the good they bring. The verse closes with ﴿إِنَّ اللَّهَ خَبِيرٌ بِمَا تَعْمَلُونَ﴾ — “indeed, Allah is Acquainted with what you do.” (5:8), after the preceding verse ended ﴿إِنَّ اللَّهَ عَلِيمٌ بِذَاتِ الصُّدُورِ﴾ — “Indeed, Allah is Knowing of that within the breasts.” (5:7). The ending of 5:7 recalls how Allah’s knowledge encompasses intentions and secrets. The ending of 5:8 recalls how it encompasses our acts and the purposes and details concealed behind them.
Abu Hayyan remarked on the aptness of “Acquainted”:
“{ واتقوا الله إن الله خبير بما تعملون } — ‘And fear Allah; indeed, Allah is Acquainted with what you do.’ (5:8). Because hatred has its place in the heart and impels people to abandon justice, He commanded reverence for Him. He used the attribute ‘Acquainted,’ which means knowing, but is particular to what is subtle to perceive. It was therefore fitting to use this attribute to draw attention to a condition of the heart.”
(Al-Bahr al-Muhit fi al-Tafsir — Muhammad ibn Yusuf Abu Hayyan al-Andalusi)
In this way the outward and the inward come together in the Qur'an’s expression. Allah knows the decision that was given, the testimony that was borne, and the right that was withheld. He also knows what the soul harbored of affection, hatred, fear, or desire for gain.
Interpretive and Reflective Outpourings
Several accounts have been given of the circumstances in which this verse was revealed. Some connect it with the harm the polytheists did to the believers and their keeping the believers from the Sacred Mosque. Others place it in the context of reports that certain Jews tried to attack the Prophet (peace and blessings be upon him) when he approached them about a payment of blood money. Al-Tabari and other commentators mention these reports, and commentators differ on which occasion best fits the verse. No one occasion should be asserted with certainty without examining the chains of transmission and the circumstances that support it. Nor should the varying accounts be used to restrict the scope of the ruling. The verse addresses all believers and commands them to be just with those they love as well as those they hate. Difference of religion and the intensity of enmity give no warrant for violating anyone’s rights.
Al-Tabari summed up the meaning:
“In this, the One whose praise is glorious means, ‘You who believe in Allah and His Messenger Muhammad, make standing firm for Allah and bearing witness in justice among your friends and your enemies part of your character and conduct. Do not act unjustly in your judgments or your deeds, going beyond the limits I have set for your enemies because they are hostile to you, or falling short of My rulings and limits concerning your friends because they are your friends. In dealing with them all, stop at the limits I have set and act as I command.’”
(Jami' al-Bayan 'an Ta'wil Ay al-Qur'an — Muhammad ibn Jarir al-Tabari)
It follows that justice takes account of the facts that make each case different. A person who has a right receives what is due. Someone shown to have done wrong is held to account within the limits of what he deserves. The innocent bear no liability for what someone else has done. Justice distinguishes between acts, rights, and evidence. It will not allow group affiliation alone to determine judgment or turn hatred into a source of evidence. Testimony calls for a particularly careful application of this principle. A witness may be related to one litigant or hostile to the other. His duty is to give an honest account of what he knows without adding to it or taking anything away. His dislike for an opponent gives him no right to conceal testimony in that person’s favor or invent something damaging to him. The duty to speak truthfully and give people their due leaves open the legal question of whether a court will admit the testimony. Islamic jurisprudence has rules concerning enmity that affects testimony, the qualifications of a witness, and how testimony is given. These are considered according to the kind of testimony and the reasoning of the school of law.
Al-Shafi‘i related a clear statement of this responsibility from scholars of religion:
“Al-Shafi‘i, may Allah Most High have mercy on him, said, ‘What I recall from everyone among the people of knowledge from whom I heard about these verses is that they concern a witness who has incurred the duty to testify. He must give his testimony against his parents, his child, and those close to him and those far removed from him, and on behalf of someone he dislikes, whether close or far removed. He must conceal it from no one, show no favoritism in it, and withhold it from no one.’”
(Al-Umm — Muhammad ibn Idris al-Shafi‘i, cited from the collected Tafsir al-Imam al-Shafi‘i presented on Tafasir)
The ruling extends from court testimony to every setting in which what people say or how they assess a matter can establish or nullify a right. It includes discharging trusts, judging between disputing parties, assessing people’s work, counseling on the basis of evidence, and making the truth known when other people’s rights depend on it.
Al-Jassas gave testimony a wider range of meanings. These include bearing witness to people’s rights and actions and testifying that Allah’s command is the truth. He then said:
“All these meanings may be intended, since the wording can bear them all.”
(Ahkam al-Qur'an — Ahmad ibn Ali al-Jassas)
One of the verse’s most consequential implications is that enmity, however intense, cannot set aside the ethical and legal limits that govern our treatment of others. Al-Jassas explained some forms of justice in times of conflict and fighting. He pointed out that wrongdoing by an opponent does not make every response lawful.
“This comprises the command to be just with the person in the right and the person in the wrong. It lays down that the disbelief and wrongdoing of disbelievers do not prevent us from treating them justly. Neither fighting nor killing may exceed what is warranted in their case. Their treatment must be confined to what is warranted in fighting, taking captives, and enslavement, without mutilating or torturing them or killing their children and women in order to cause them grief and pain.”
(Ahkam al-Qur'an — Ahmad ibn Ali al-Jassas)
This passage reflects the questions and terminology of historical Islamic jurisprudence. Its implication here is that people must refrain from excess, forbidden retaliation, and harming those who deserve no punishment. An opponent’s crimes give no grounds for doing what is forbidden. Justice allows people to hold wrongdoers to account and repel aggression. It keeps the aggressor and the victim distinct. It requires that treatment be governed by the truth and the limits of the law. No one should receive more than he deserves, and no one should be deprived of what is due to him because of his identity or enmity.
Then come the words ﴿اعْدِلُوا هُوَ أَقْرَبُ لِلتَّقْوَى﴾ — “Be just; that is nearer to righteousness.” (5:8). Justice is a social duty and a sign that one is sincere in worshipping Allah. A person may imagine that his commitment to his community allows him to favor its members, or that punishing his opponents unjustly proves his loyalty and zeal. The Qur'an sets the standard above such considerations. Wronging a person because he is different from oneself cannot bring one nearer to reverence for Allah. Defending someone in the wrong because he belongs to one’s own community cannot do so either.
Al-Sa‘di said:
“Just as you testify in favor of an ally, testify against him. Just as you testify against an enemy, testify in his favor. Even if he is a disbeliever or an adherent of a religious innovation, you must treat him justly and accept the truth he brings. Accept it because it is true, regardless of who said it. Rejecting the truth because he said it wrongs the truth itself.”
(Taysir al-Karim al-Rahman fi Tafsir Kalam al-Mannan — Abd al-Rahman ibn Nasir al-Sa'di)
An important principle of interpretation emerges here. Truth does not become false because of the person who speaks it, and falsehood does not become true because we love the person who speaks it. Someone who understands this can assess an idea on its own merits. He can accept what is right from an opponent without accepting everything the opponent says, and reject a friend’s mistake without turning the disagreement into a personal enmity.
Spiritual Outpourings
In the words of Allah Most High, ﴿كُونُوا قَوَّامِينَ لِلَّهِ﴾ — “be persistently standing firm for Allah” (5:8) — there is spiritual training in freeing our actions from the power of desire. Sincerity becomes visible when, out of obedience to Allah, a person turns away from an immediate advantage or the revenge he longed to take. It goes deeper than a feeling that accompanies worship. A person may perform his acts of worship with humility and then face a dispute, a wrong, or a case in which his testimony would set truth against his interests. In that moment the sincerity of his standing for Allah is tested. If he chooses justice when he has the power to wrong someone, he has put obedience to his Lord before his own desire.
In his interpretation of the verse, Fakhr al-Din al-Razi accordingly brought the right of Allah and the rights of His servants together:
“Know that duties are of many kinds, yet are contained in two categories, honoring the command of Allah Most High and having compassion for His creation. The words { كونوا قوامين لله } — ‘be persistently standing firm for Allah’ (5:8) — point to the first category, honoring Allah’s command. Standing for Allah means standing firm in the truth for Him in every matter in which one must show one’s servitude and honor His lordship. The words { شهداء بالقسط } — ‘witnesses in justice’ (5:8) — point to compassion for Allah’s creation. There are two interpretations. First, Ata said that you must show no favoritism in your testimony to friends or relatives, and must not withhold it from enemies or opponents. Second, al-Zajjaj said that the meaning is to make Allah’s religion clear, since a witness clarifies what he [testifies] about.”
(Mafatih al-Ghayb — Muhammad ibn Umar Fakhr al-Din al-Razi)
Honoring Allah is inseparable from mercy toward His servants, and mercy loses its soundness if it loses justice. Giving an opponent his due may be among the sincerest acts of submission to Allah. Faith in the source of the right is what moves him to do it, even though he feels no affection for his opponent.
On this point al-Qushayri says:
“Do not let obtaining a share in anything keep you from being faithful to Us and standing firm in what is due to Us from you. It is also said that someone who does not act justly when his hopes come within reach, and does not clear away the desires and demands that arise in him, has not stood for Allah as is His due or fulfilled what his duties require.”
(Lata'if al-Isharat — Abd al-Karim ibn Hawazin al-Qushayri)
Love and hatred can persist in a believer’s heart, and their arising is not always within a person’s control. What is asked of him is to govern both by the truth and keep them from deciding other people’s rights. This restraint can be one of the greatest ways of striving against the lower self. The soul can make vengeance look like justice, clothe favoritism in loyalty, and call a lie a defense of the truth. Believers need to examine their motives before they judge or bear witness. When a person remembers that Allah is acquainted with what he does, he understands that sincerity goes deeper than getting the right outcome in public. Someone may give a just judgment out of a desire for fame. Someone else may depart from the truth and dress up that departure in the language of the public interest and fairness. This gives people no basis for judging one another’s intentions. Human judgment stops at the evidence and relevant outward facts. Each person is responsible for purifying his own intention and calling himself to account.
Sayyid Qutb described what this awareness does for the believer:
“The human soul never rises to this height except when it deals with Allah directly in this matter. It stands firm for Allah, free of any other consideration. It feels reverence for Him and senses that His eye is upon the secrets of the conscience and what lies within the breasts.”
(Fi Zilal al-Qur'an — Sayyid Qutb Ibrahim Husayn al-Shadhili)
Justice thus takes on a meaning beyond a correct outward procedure. It becomes worship in the awareness that Allah knows and watches. Reverence for Him thus guides conduct in the courtroom, in family gatherings, at work, and wherever people can yield to their desire or stand up for the truth.
Psychological Outpourings
The verse exposes one of the strongest sources of distortion in human judgment. Negative feelings about a person or a community can become the lens through which we see everything that happens. A person may hear something about an opponent and believe it immediately because it confirms an existing impression, then demand rigorous evidence when the same report is about a friend. He may regard an act as a serious offense when someone he dislikes commits it and a minor one when the person responsible is someone he loves. These examples show how emotional bias can affect judgment and assessment of evidence. They give no reason to treat every difference of appraisal as bias, or ask people who hate wrongful conduct to deny that it is wrong. The Qur'an recognizes that feelings exist. It forbids letting them become grounds for violating rights.
Sayyid Qutb described the difference between restraining oneself from aggression and committing oneself to justice with psychological precision:
“Allah had already forbidden believers to let hatred for those who barred them from the Sacred Mosque drive them to transgress. It was a height of self-restraint and forbearance to which Allah raised them by His upright, divine education. Here they are forbidden to let hatred turn them away from justice. It is a higher summit, harder for the soul to reach and more demanding. This goes a step beyond avoiding aggression and stopping there. It goes on to uphold justice even amid feelings of hatred and loathing. The first duty is easier because it is a negative measure, ending when one refrains from aggression. The second duty is harder because it requires positive action, obliging the soul to practice justice and equity toward those it hates and detests.”
(Fi Zilal al-Qur'an — Sayyid Qutb Ibrahim Husayn al-Shadhili)
The distinction between governing an emotion and extinguishing it matters here. Anger can have sound grounds, as when an act of aggression, betrayal, or injustice has occurred. The soundness of the reason for anger does not make every act born of it right. A just person need not forget what happened or pretend everyone bears the same responsibility. His judgment is to remain grounded in facts, evidence, and rights. He must give his anger no power to create a right that does not exist or erase one that does. The verse also draws attention to the soul’s desire for less tangible forms of revenge, such as damaging an opponent’s reputation, magnifying his fault, or hiding his good qualities, even when the only benefit is the satisfaction of revenge. Justice begins before a verdict is pronounced. It starts when people examine the evidence they gathered, what they excluded, and how they listened to the different parties.
Muhammad Abu Zahra pointed to the verse’s role in training the soul to maintain its balance in judgment:
“The repetition emphatically reinforces the point. It has a further benefit in calling for the soul to be tended and trained to act justly. In His words, exalted is He, { ولا يجرمنكم شنآن قوم على ألا تعدلوا } — ‘and do not let the hatred of a people prevent you from being just.’ (5:8) — there is a command to tend the soul and keep it within the bounds of moderation. It strengthens the will so that anger does not overcome the soul and cause it to bolt. When the soul bolts, it follows the devil of anger, which leads to denying people their rights and to injustice.”
(Zahrat al-Tafasir — Muhammad Abu Zahra)
One way to reflect on the verse in light of psychology today is to pause in a dispute and ask ourselves a few questions. Would I have reached the same judgment if the names of the parties had been reversed? Did I accept the evidence because it is sound, or because it hurts the person I hate? Do I reject my friend’s error as readily as I reject my opponent’s? These questions put the verse’s aim to use in resisting bias, without suggesting that they are a literal explanation of its words. The exercise should not turn into a persistent, debilitating doubt about every judgment a person makes. The point is to be as careful and fair as the matter calls for, while remaining able to decide. The trouble begins when the urge to vindicate oneself becomes stronger than the desire to know the truth.
Pedagogical Outpourings
The verse sets a high aim for education. Acting justly should become an enduring quality of character, beyond something a person does under supervision or when it serves his interests. The word ﴿كُونُوا﴾, “be” (5:8), calls for conduct to be formed and sustained. The form ﴿قَوَّامِينَ﴾, “persistently standing firm” (5:8), calls for thoroughness and effort. The preposition in ﴿لِلَّهِ﴾, “for Allah” (5:8), sets the intention. Then comes ﴿شُهَدَاءَ بِالْقِسْطِ﴾ — “witnesses in justice” (5:8) — to keep inward uprightness joined to giving others their rights. Teaching a love of justice in the abstract will therefore not suffice. Learners need situations in which they see what keeping to it costs. A student who admits an error he could conceal, a teacher who treats a student fairly despite their differences, and an official who refuses to give a relative preferential treatment all learn that justice shows its worth when one has a choice to depart from it.
Tantawi drew from the verse’s wording the aim of forming a moral habit:
“It is as if He, glory be to Him, told them to train themselves to obey their Creator and accustom themselves to holding fast to truth and justice. Make this your practice in every situation and every circumstance. Obeying Allah and acting justly once or twice are insufficient. The obligation is to adhere to them at all times and in all that you do.”
(Al-Tafsir al-Wasit li-l-Qur'an al-Karim — Muhammad Sayyid Tantawi)
This education begins in the family. Parents’ natural affection for their children may make them lean toward one child, but it gives them no right to wrong the others. In his commentary on the verse, Ibn Kathir cited the report of al-Nu‘man ibn Bashir (may Allah be pleased with him). When his father wanted to give him a gift to the exclusion of his other children, the Prophet (peace and blessings be upon him) asked him about those children and then commanded him to treat them justly (Sahih al-Bukhari — Muhammad ibn Isma‘il al-Bukhari, Book of Gifts, hadith 2587). This is a practical example of justice beyond major public disputes. It begins in the home and in relationships governed by love, just as it is required in relationships marked by hatred.
Another deep lesson is that one must not wrong anyone in an effort to appear impartial. Someone who wants to seem detached may rule against his own relative when that relative is in the right, thinking a decision against a relative proves his fairness. This is a mistake. Justice means giving support to the truth, whoever is in the right, regardless of who is emotionally more distant.
Al-Sha‘rawi gave a telling example:
“Many people judge unfairly so that they will be known for their justice. How? Suppose a case is brought before you, a dispute between your son and your neighbor’s son. As a first show of what might pass for courage, you would rule for your neighbor’s son against your own even when the neighbor’s son is in the wrong. It takes greater courage, when your son is in the right, to rule for him. If you rule for your neighbor’s son when he is in the wrong, you have judged unjustly to acquire a reputation for justice.”
(Tafsir al-Sha'rawi — Muhammad Mutawalli al-Sha'rawi)
This is a subtle observation about education. Justice can be distorted when it becomes a means of confirming a person’s image of himself or earning the praise of others. An impartial person does not wrong his relative to prove his detachment or wrong an opponent to prove his loyalty. Justice should be taught as a practice for examining facts and rendering judgment, with no outcome settled by the parties’ names.
This education acquires a wider social dimension when a person learns that disagreement leaves the other party’s right to fair treatment intact. People may differ in religion, opinion, culture, or political position. Their statements must still be conveyed honestly, their rights recognized, and crimes they did not commit kept from being laid at their door. Al-Sa‘di counted accepting the truth from an opponent as part of justice. It is a profound lesson for the mind and character together. Someone who learns to accept a truth from those who differ with him becomes better able to correct his own errors, and less likely to see only through the eyes of the group he belongs to. An education in justice cultivates far more than kindness in the abstract. It develops the courage to tell the truth, the ability to admit mistakes and distinguish facts from feelings, and the practice of giving every person exactly what is due.
Contemporary Outpourings
The verse takes on renewed importance in a world with so many ways to make and disseminate judgments. Judgments about people are no longer limited to a courtroom or testimony before a judge. Today they may appear in a news report, a performance review, an investigative committee’s findings, an online platform, or an automated decision that affects someone’s opportunity, rights, or reputation. In every setting the Qur'an’s question remains with us. Was the judgment determined by the evidence, or did affection, hatred, allegiances, and interests tilt the scales? In management, a worker’s assessment should be independent of his personal relationship with his manager. In education, affection for a student or disagreement with him should have no bearing on his grade. In adjudication and investigation, personal impressions cannot take the place of evidence, and an accused person’s identity cannot substitute for proof of responsibility. In healthcare, a patient’s nationality, language, or social standing, or a disagreement with staff, should have no effect on the assessment of his needs or the respect shown for his dignity and rights. Treatment priorities remain tied to his medical condition and standards of safety and fairness.
Muhammad Rashid Rida expressed the broad reach of this principle in rights and judgments:
“{ وَلاَ يَجْرِمَنَّكُمْ شَنَآنُ قَوْمٍ عَلَى أَلاَّ تَعْدِلُواْ اعْدِلُواْ } — ‘and do not let the hatred of a people prevent you from being just. Be just’ (5:8). Do not let the hatred and hostility of a people toward you, or your hatred and hostility toward them, lead you away from justice in their affairs. This means bearing witness to what is due to them when they are in the right, and the same is true here of ruling in their favor. No believer has an excuse for forsaking justice or failing to prefer it to wrongdoing and favoritism. He must put it above desires and personal interests, and above affection and enmity whatever their cause. No one should imagine it permissible to abandon justice in bearing witness for a disbeliever or in ruling for him against a believer when he is in the right.”
(Tafsir al-Qur'an al-Hakim, known as Tafsir al-Manar — Muhammad Rashid Rida)
This principle matters especially in the media and on social networks. A report about an opponent may spread quickly because it confirms an existing dislike among its audience. A phrase may be taken out of context or a small incident inflated to condemn an entire community. Justice in these circumstances leaves room to report painful facts and criticize wrongdoing. It calls for verifying reports, attributing acts to those responsible, distinguishing facts from opinion, and refraining from turning one individual’s error into a collective condemnation without evidence. One of the verse’s most important applications may therefore be the decision to withhold an unsubstantiated accusation even about a bitter opponent, and to accept a correction when something that once supported one’s position proves false.
In relations between communities and states the verse draws a clear moral boundary. Enmity does not cancel rights. However fierce the conflict, betrayal, excess, and aggression against those who deserve no such treatment remain prohibited within the bounds of the applicable religious and civil law.
Muhammad Husayn Fadlallah pointed out the bounds within which hostility may affect the way we treat others:
“Islam leaves no room for injustice, even against enemies. Enmity depends on particular conditions and positions that call for a certain kind of adverse conduct. That conduct may never depart from the standards and rules of the Sacred Law, which recognizes that enmity has limits a believer cannot cross. Those limits are set by the rights an enemy has acquired through covenants and treaties or through the rules Allah revealed, in which aspects of his humanity are respected.”
(Min Wahy al-Qur'an — Muhammad Husayn Fadlallah)
A vital distinction is confirmed here. Justice does not clear the aggressor, place the victim on the same footing as the person who wronged him, or disregard the different degrees of responsibility. Justice requires that responsibility be established by evidence and those proved responsible be punished within the limits of what they deserve. The pursuit of victory must never turn into collective punishment or a violation of the rights of the innocent.
Another contemporary application concerns decision-making systems that use data and algorithms. Their technical form may appear neutral, yet they can carry biases arising from unbalanced data, unfair standards, or a design that does not take account of the rights of people affected by their decisions. The verse offers an ethical principle for their design and review. A person’s affiliation, relationships, or disputes should not deprive him of what he is due, and decisions must be open to verification, review, and accountability in proportion to what they put at stake. The verse does not predict these technologies or supply rules for programming them. This application requires law and institutional procedures. A just conscience matters. So do records of evidence, separation of interests, an avenue for objections, review of decisions, and safeguards against abuse of power.
Sayyid Qutb pointed out that moral principles need to find expression in actual life:
“People can know the principles and proclaim them. Putting them into effect in the real world is another matter.”
(Fi Zilal al-Qur'an — Sayyid Qutb Ibrahim Husayn al-Shadhili)
Public praise of justice is therefore incomplete without fair practices in the courts, workplaces, schools, public services, and other institutions. If we reflect on the aims of this verse, we see it safeguarding rights on which people’s dignity, security, property, and reputation depend. It prevents disputes from turning into a way of depriving people of those rights. It also protects people’s trust in judgments and testimony. When members of a society believe that affection and enmity determine the outcome of disputes instead of truth and law, trust weakens and conflict grows.
Muhammad Izzat Darwazah brought out how far the verse reaches in matters of justice and impartiality:
“The principle the first verse contains is consistent in substance with the teachings and principles of the Qur'an in many Meccan and Medinan verses. The verse in Surah al-Nisa (135) comes particularly close to it. Yet the manner in which this verse puts it, along with the conclusion, reinforcement, promise, and warning in the two verses that follow it, gives its message great and illuminating force. It makes this one of the Qur'an’s finest and most far-reaching verses on truth, justice, detachment, and integrity in giving testimony, acting, rendering judgment, and giving assurance.”
(Al-Tafsir al-Hadith — Muhammad Izzat Darwazah, commentary on 5:8–10. “The first verse” means 5:8.)
The verse closes by returning to reverence for Allah and His intimate knowledge. The responsibility of justice extends beyond handing down a decision to sincerity of intention, soundness of means, and establishing what is right to the best of our ability and knowledge. A person able to wrong someone he hates may refrain. He might be able to favor someone he loves and choose not to do so. He may acknowledge the truth even when it goes against his interests. These are moments in which standing firm for Allah becomes real in ways that no slogan can capture. Contemporary reflection can find expression in a question worth asking again in every dispute, decision, or testimony. If the identities of the parties changed while the facts and evidence stayed the same, would I pass the same judgment? The question helps test the impartiality of the standard we use and leaves the work of finding the truth to careful inquiry. Justice can require ruling against someone, punishing him, or rejecting his claim. It does not require pleasing everyone. What it requires is that the grounds of a decision remain independent of love and hatred, and that those who make it can defend it by evidence and a lawful standard.
The verse thus establishes a high station of faith. A believer upholds the truth because Allah has commanded justice and made practicing it among the deeds that bring people nearest to reverence for Him, regardless of his own inclinations, his closeness to the person in the right, or how deserving of his love an opponent might be. When he stands up for the right of a person he hates, he has already overcome his own desire. When he gives justice precedence over his disputes, he has put his covenant of faith back in its proper place. The Qur'anic words retain their authority over conscience and conduct, joining the force of the command with Allah’s watchfulness.
﴿يَا أَيُّهَا الَّذِينَ آمَنُوا كُونُوا قَوَّامِينَ لِلَّهِ شُهَدَاءَ بِالْقِسْطِ وَلَا يَجْرِمَنَّكُمْ شَنَآنُ قَوْمٍ عَلَىٰ أَلَّا تَعْدِلُوا اعْدِلُوا هُوَ أَقْرَبُ لِلتَّقْوَىٰ وَاتَّقُوا اللَّهَ إِنَّ اللَّهَ خَبِيرٌ بِمَا تَعْمَلُونَ﴾
O you who have believed, be persistently standing firm for Allah, witnesses in justice, and do not let the hatred of a people prevent you from being just. Be just; that is nearer to righteousness. And fear Allah; indeed, Allah is Acquainted with what you do. (5:8)