Source-Led Reading

Quran Verses About Justice: What the Quran and Hadith Say

What does the Quran say about justice?

The Quran says God commands justice (16:90) and tells believers to uphold it even against themselves, their parents, or close relatives (4:135), and not to let hatred of others lead them away from it (5:8). In Sahih Muslim 6572, Allah says He has forbidden oppression for Himself and made it forbidden among people.

Seven Quran passages and four sahih hadith on upholding justice, judging fairly, and refusing to oppress or to excuse oppression.

Published by Madeenan Editorial · Updated · How Sources Are Reviewed

Justice is easy to demand from other people and hard to apply when it costs something: when the witness is against a parent, when the other side is someone you dislike, or when the person who did wrong is powerful and well connected. The Quran addresses each of those situations by name.

The sources below gather its commands about justice with reports from Sahih al-Bukhari and Sahih Muslim about oppression and fairness. They are shown with their Arabic text, translation, and reference, so each one can be read in full rather than as a slogan.

What the Quran Says About Justice

These verses apply justice to testimony, judgement, trade, speech, and disputes between groups, including when it goes against one's own side.

  1. Even Against Yourselves

    Uphold justice and bear witness to God even against yourselves, your parents, or close relatives, whether the person is rich or poor.

    Qur'an

    Qur'an 4:135

    ۞ يَا أَيُّهَا الَّذِينَ آمَنُوا كُونُوا قَوَّامِينَ بِالْقِسْطِ شُهَدَاءَ لِلَّهِ وَلَوْ عَلَىٰ أَنْفُسِكُمْ أَوِ الْوَالِدَيْنِ وَالْأَقْرَبِينَ ۚ إِنْ يَكُنْ غَنِيًّا أَوْ فَقِيرًا فَاللَّهُ أَوْلَىٰ بِهِمَا ۖ فَلَا تَتَّبِعُوا الْهَوَىٰ أَنْ تَعْدِلُوا ۚ وَإِنْ تَلْوُوا أَوْ تُعْرِضُوا فَإِنَّ اللَّهَ كَانَ بِمَا تَعْمَلُونَ خَبِيرًا١٣٥

    You who believe, uphold justice and bear witness to God, even if it is against yourselves, your parents, or your close relatives. Whether the person is rich or poor, God can best take care of both. Refrain from following your own desire, so that you can act justly- if you distort or neglect justice, God is fully aware of what you do

  2. Do Not Let Hatred Lead You From Justice

    Bear witness impartially and do not let hatred of others lead you away from justice; it is closer to awareness of God.

    Qur'an

    Qur'an 5:8

    يَا أَيُّهَا الَّذِينَ آمَنُوا كُونُوا قَوَّامِينَ لِلَّهِ شُهَدَاءَ بِالْقِسْطِ ۖ وَلَا يَجْرِمَنَّكُمْ شَنَآنُ قَوْمٍ عَلَىٰ أَلَّا تَعْدِلُوا ۚ اعْدِلُوا هُوَ أَقْرَبُ لِلتَّقْوَىٰ ۖ وَاتَّقُوا اللَّهَ ۚ إِنَّ اللَّهَ خَبِيرٌ بِمَا تَعْمَلُونَ٨

    You who believe, be steadfast in your devotion to God and bear witness impartially: do not let hatred of others lead you away from justice, but adhere to justice, for that is closer to awareness of God. Be mindful of God: God is well aware of all that you do

  3. God Commands Justice

    God commands justice, doing good, and generosity towards relatives, and forbids what is shameful and oppressive.

    Qur'an

    Qur'an 16:90

    ۞ إِنَّ اللَّهَ يَأْمُرُ بِالْعَدْلِ وَالْإِحْسَانِ وَإِيتَاءِ ذِي الْقُرْبَىٰ وَيَنْهَىٰ عَنِ الْفَحْشَاءِ وَالْمُنْكَرِ وَالْبَغْيِ ۚ يَعِظُكُمْ لَعَلَّكُمْ تَذَكَّرُونَ٩٠

    God commands justice, doing good, and generosity towards relatives and He forbids what is shameful, blameworthy, and oppressive. He teaches you, so that you may take heed

  4. Judge Between People With Justice

    Return things entrusted to you to their rightful owners, and judge between people with justice.

    Qur'an

    Qur'an 4:58

    ۞ إِنَّ اللَّهَ يَأْمُرُكُمْ أَنْ تُؤَدُّوا الْأَمَانَاتِ إِلَىٰ أَهْلِهَا وَإِذَا حَكَمْتُمْ بَيْنَ النَّاسِ أَنْ تَحْكُمُوا بِالْعَدْلِ ۚ إِنَّ اللَّهَ نِعِمَّا يَعِظُكُمْ بِهِ ۗ إِنَّ اللَّهَ كَانَ سَمِيعًا بَصِيرًا٥٨

    God commands you [people] to return things entrusted to you to their rightful owners, and, if you judge between people, to do so with justice: God’s instructions to you are excellent, for He hears and sees everything

  5. When You Speak, Be Just

    Protect orphans' property, give full measure and weight, and be just in speech even when it concerns a relative.

    Qur'an

    Qur'an 6:152

    وَلَا تَقْرَبُوا مَالَ الْيَتِيمِ إِلَّا بِالَّتِي هِيَ أَحْسَنُ حَتَّىٰ يَبْلُغَ أَشُدَّهُ ۖ وَأَوْفُوا الْكَيْلَ وَالْمِيزَانَ بِالْقِسْطِ ۖ لَا نُكَلِّفُ نَفْسًا إِلَّا وُسْعَهَا ۖ وَإِذَا قُلْتُمْ فَاعْدِلُوا وَلَوْ كَانَ ذَا قُرْبَىٰ ۖ وَبِعَهْدِ اللَّهِ أَوْفُوا ۚ ذَٰلِكُمْ وَصَّاكُمْ بِهِ لَعَلَّكُمْ تَذَكَّرُونَ١٥٢

    Stay well away from the property of orphans, except with the best [intentions], until they come of age; give full measure and weight, according to justice’- We do not burden any soul with more than it can bear- ‘ when you speak, be just, even if it concerns a relative; keep any promises you make in God’s name. This is what He commands you to do, so that you may take heed’

  6. The Scripture and the Balance

    Messengers were sent with clear signs, the Scripture, and the Balance so that people could uphold justice.

    Qur'an

    Qur'an 57:25

    لَقَدْ أَرْسَلْنَا رُسُلَنَا بِالْبَيِّنَاتِ وَأَنْزَلْنَا مَعَهُمُ الْكِتَابَ وَالْمِيزَانَ لِيَقُومَ النَّاسُ بِالْقِسْطِ ۖ وَأَنْزَلْنَا الْحَدِيدَ فِيهِ بَأْسٌ شَدِيدٌ وَمَنَافِعُ لِلنَّاسِ وَلِيَعْلَمَ اللَّهُ مَنْ يَنْصُرُهُ وَرُسُلَهُ بِالْغَيْبِ ۚ إِنَّ اللَّهَ قَوِيٌّ عَزِيزٌ٢٥

    We sent Our messengers with clear signs, the Scripture and the Balance, so that people could uphold justice: We also sent iron, with its mighty strength and many uses for mankind, so that God could mark out those who would help Him and His messengers though they cannot see Him. Truly God is powerful, almighty

  7. Reconcile Justly and Even-Handedly

    When two groups of believers fight, reconcile them justly and even-handedly; God loves those who are even-handed.

    Qur'an

    Qur'an 49:9

    وَإِنْ طَائِفَتَانِ مِنَ الْمُؤْمِنِينَ اقْتَتَلُوا فَأَصْلِحُوا بَيْنَهُمَا ۖ فَإِنْ بَغَتْ إِحْدَاهُمَا عَلَى الْأُخْرَىٰ فَقَاتِلُوا الَّتِي تَبْغِي حَتَّىٰ تَفِيءَ إِلَىٰ أَمْرِ اللَّهِ ۚ فَإِنْ فَاءَتْ فَأَصْلِحُوا بَيْنَهُمَا بِالْعَدْلِ وَأَقْسِطُوا ۖ إِنَّ اللَّهَ يُحِبُّ الْمُقْسِطِينَ٩

    If two groups of the believers fight, you [believers] should try to reconcile them; if one of them is [clearly] oppressing the other, fight the oppressors until they submit to God’s command, then make a just and even-handed reconciliation between the two of them: God loves those who are even-handed

What the Hadith Say About Justice and Oppression

Each report below is from Sahih al-Bukhari or Sahih Muslim. The grade on each card comes from the source record.

  1. I Have Forbidden Oppression for Myself

    Allah says He has forbidden oppression for Himself and made it forbidden among His servants, so do not oppress one another.

    Hadith

    Sahih Muslim 6572

    Sahih (Authentic)

    حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَبْدِ الرَّحْمَنِ بْنِ بَهْرَامَ الدَّارِمِيُّ، حَدَّثَنَا مَرْوَانُ، - يَعْنِي ابْنَ مُحَمَّدٍ الدِّمَشْقِيَّ - حَدَّثَنَا سَعِيدُ بْنُ عَبْدِ الْعَزِيزِ، عَنْ رَبِيعَةَ بْنِ يَزِيدَ، عَنْ أَبِي إِدْرِيسَ الْخَوْلاَنِيِّ، عَنْ أَبِي ذَرٍّ، عَنِ النَّبِيِّ صلى الله عليه وسلم فِيمَا رَوَى عَنِ اللَّهِ، تَبَارَكَ وَتَعَالَى أَنَّهُ قَالَ ‏ "‏ يَا عِبَادِي إِنِّي حَرَّمْتُ الظُّلْمَ عَلَى نَفْسِي وَجَعَلْتُهُ بَيْنَكُمْ مُحَرَّمًا فَلاَ تَظَالَمُوا يَا عِبَادِي كُلُّكُمْ ضَالٌّ إِلاَّ مَنْ هَدَيْتُهُ فَاسْتَهْدُونِي أَهْدِكُمْ يَا عِبَادِي كُلُّكُمْ جَائِعٌ إِلاَّ مَنْ أَطْعَمْتُهُ فَاسْتَطْعِمُونِي أُطْعِمْكُمْ يَا عِبَادِي كُلُّكُمْ عَارٍ إِلاَّ مَنْ كَسَوْتُهُ فَاسْتَكْسُونِي أَكْسُكُمْ يَا عِبَادِي إِنَّكُمْ تُخْطِئُونَ بِاللَّيْلِ وَالنَّهَارِ وَأَنَا أَغْفِرُ الذُّنُوبَ جَمِيعًا فَاسْتَغْفِرُونِي أَغْفِرْ لَكُمْ يَا عِبَادِي إِنَّكُمْ لَنْ تَبْلُغُوا ضَرِّي فَتَضُرُّونِي وَلَنْ تَبْلُغُوا نَفْعِي فَتَنْفَعُونِي يَا عِبَادِي لَوْ أَنَّ أَوَّلَكُمْ وَآخِرَكُمْ وَإِنْسَكُمْ وَجِنَّكُمْ كَانُوا عَلَى أَتْقَى قَلْبِ رَجُلٍ وَاحِدٍ مِنْكُمْ مَا زَادَ ذَلِكَ فِي مُلْكِي شَيْئًا يَا عِبَادِي لَوْ أَنَّ أَوَّلَكُمْ وَآخِرَكُمْ وَإِنْسَكُمْ وَجِنَّكُمْ كَانُوا عَلَى أَفْجَرِ قَلْبِ رَجُلٍ وَاحِدٍ مَا نَقَصَ ذَلِكَ مِنْ مُلْكِي شَيْئًا يَا عِبَادِي لَوْ أَنَّ أَوَّلَكُمْ وَآخِرَكُمْ وَإِنْسَكُمْ وَجِنَّكُمْ قَامُوا فِي صَعِيدٍ وَاحِدٍ فَسَأَلُونِي فَأَعْطَيْتُ كُلَّ إِنْسَانٍ مَسْأَلَتَهُ مَا نَقَصَ ذَلِكَ مِمَّا عِنْدِي إِلاَّ كَمَا يَنْقُصُ الْمِخْيَطُ إِذَا أُدْخِلَ الْبَحْرَ يَا عِبَادِي إِنَّمَا هِيَ أَعْمَالُكُمْ أُحْصِيهَا لَكُمْ ثُمَّ أُوَفِّيكُمْ إِيَّاهَا فَمَنْ وَجَدَ خَيْرًا فَلْيَحْمَدِ اللَّهَ وَمَنْ وَجَدَ غَيْرَ ذَلِكَ فَلاَ يَلُومَنَّ إِلاَّ نَفْسَهُ ‏"‏ ‏.‏ قَالَ سَعِيدٌ كَانَ أَبُو إِدْرِيسَ الْخَوْلاَنِيُّ إِذَا حَدَّثَ بِهَذَا الْحَدِيثِ جَثَا عَلَى رُكْبَتَيْهِ ‏.‏

    Abu Dharr reported Allah's Messenger (ﷺ) as saying that Allah, the Exalted and Glorious, said:"O My servants, I have forbidden oppression for Myself and have made it forbidden amongst you, so do not oppress one another. O My servants, all of you are astray except for those I have guided, so seek guidance of Me and I shall guide you, O My servants, all of you are hungry except for those I have fed, so seek food of Me and I shall feed you. O My servants, all of you are naked except for those I have clothed, so seek clothing of Me and I shall clothe you. O My servants, you sin by night and by day, and I forgive all sins, so seek forgiveness of Me and I shall forgive you. O My servants, you will not attain harming Me so as to harm Me, and will not attain benefitting Me so as to benefit Me. O My servants, were the first of you and the last of you, the human of you and the jinn of you to be as pious as the most pious heart of any one man of you, that would not increase My dominion in anything. O My servants, were the first of you and the last of you, the human of you and the jinn of you to be as wicked as the most wicked heart of any one man of you, that would not decrease My dominion in anything. O My servants, were the first of you and the last of you, the human of you and the jinn of you to rise up in one place and make a request of Me, and were I to give everyone what he requested, that would not decrease what I have, any more that a needle decreases the sea if put into it. O My servants, it is but your deeds that I record for you and then recompense you for. So let him who finds good, praise Allah, and let him who finds other than that blame no one but himself." Sa'id said that when Abu Idris Khaulini narrated this hadith he knelt upon his knees

  2. Oppression Will Be Darkness

    Oppression will be a darkness on the Day of Resurrection.

    Hadith

    Sahih al-Bukhari 2447

    Sahih (Authentic)

    حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، حَدَّثَنَا عَبْدُ الْعَزِيزِ الْمَاجِشُونُ، أَخْبَرَنَا عَبْدُ اللَّهِ بْنُ دِينَارٍ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ الظُّلْمُ ظُلُمَاتٌ يَوْمَ الْقِيَامَةِ ‏"‏‏.‏

    Narrated Ibn `Umar:The Prophet (ﷺ) said, "Oppression will be a darkness on the Day of Resurrection

  3. Help Your Brother

    Help your brother whether he is an oppressor or oppressed; you help an oppressor by preventing him from oppressing others.

    Hadith

    Sahih al-Bukhari 2444

    Sahih (Authentic)

    حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا مُعْتَمِرٌ، عَنْ حُمَيْدٍ، عَنْ أَنَسٍ ـ رضى الله عنه ـ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ انْصُرْ أَخَاكَ ظَالِمًا أَوْ مَظْلُومًا ‏"‏‏.‏ قَالُوا يَا رَسُولَ اللَّهِ هَذَا نَنْصُرُهُ مَظْلُومًا، فَكَيْفَ نَنْصُرُهُ ظَالِمًا قَالَ ‏"‏ تَأْخُذُ فَوْقَ يَدَيْهِ ‏"‏‏.‏

    Narrated Anas:Allah's Messenger (ﷺ) said, "Help your brother, whether he is an oppressor or he is an oppressed one. People asked, "O Allah's Messenger (ﷺ)! It is all right to help him if he is oppressed, but how should we help him if he is an oppressor?" The Prophet (ﷺ) said, "By preventing him from oppressing others

  4. The Same Law for the Noble and the Poor

    Earlier nations were destroyed for sparing the noble and punishing the poor; the Prophet ﷺ said the law would apply even to Fatima.

    Hadith

    Sahih al-Bukhari 3475

    Sahih (Authentic)

    حَدَّثَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، حَدَّثَنَا لَيْثٌ، عَنِ ابْنِ شِهَابٍ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ ـ رضى الله عنها أَنَّ قُرَيْشًا، أَهَمَّهُمْ شَأْنُ الْمَرْأَةِ الْمَخْزُومِيَّةِ الَّتِي سَرَقَتْ، فَقَالَ وَمَنْ يُكَلِّمُ فِيهَا رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالُوا وَمَنْ يَجْتَرِئُ عَلَيْهِ إِلاَّ أُسَامَةُ بْنُ زَيْدٍ، حِبُّ رَسُولِ اللَّهِ صلى الله عليه وسلم، فَكَلَّمَهُ أُسَامَةُ، فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ أَتَشْفَعُ فِي حَدٍّ مِنْ حُدُودِ اللَّهِ ‏"‏‏.‏ ثُمَّ قَامَ فَاخْتَطَبَ، ثُمَّ قَالَ ‏"‏ إِنَّمَا أَهْلَكَ الَّذِينَ قَبْلَكُمْ أَنَّهُمْ كَانُوا إِذَا سَرَقَ فِيهِمُ الشَّرِيفُ تَرَكُوهُ، وَإِذَا سَرَقَ فِيهِمُ الضَّعِيفُ أَقَامُوا عَلَيْهِ الْحَدَّ، وَايْمُ اللَّهِ، لَوْ أَنَّ فَاطِمَةَ ابْنَةَ مُحَمَّدٍ سَرَقَتْ لَقَطَعْتُ يَدَهَا ‏"‏‏.‏

    Narrated `Aisha:The people of Quraish worried about the lady from Bani Makhzum who had committed theft. They asked, "Who will intercede for her with Allah's Messenger (ﷺ)?" Some said, "No one dare to do so except Usama bin Zaid the beloved one to Allah's Messenger (ﷺ) ." When Usama spoke about that to Allah's Apostle Allah's Messenger (ﷺ) said, (to him), "Do you try to intercede for somebody in a case connected with Allah's Prescribed Punishments?" Then he got up and delivered a sermon saying, "What destroyed the nations preceding you, was that if a noble amongst them stole, they would forgive him, and if a poor person amongst them stole, they would inflict Allah's Legal punishment on him. By Allah, if Fatima, the daughter of Muhammad stole, I would cut off her hand

Justice Starts Closest to Home

Qur'an 4:135 names the hardest cases first: uphold justice even against yourselves, your parents, or your close relatives, and whether the person is rich or poor. Qur'an 6:152 applies the same standard to speech, asking for justice even when it concerns a relative.

Sahih al-Bukhari 3475 shows the Prophet ﷺ refusing a request to make an exception for a woman of high standing. He said earlier nations were destroyed because they forgave the noble and punished the poor, and that the law would apply even to his own daughter. The point of the report is equal treatment, not the severity of any one penalty.

Justice Toward People You Dislike

Qur'an 5:8 is direct about the pull of hostility: do not let hatred of others lead you away from justice, for justice is closer to awareness of God. Qur'an 49:9 asks for the same even-handedness when reconciling two groups of believers who are in conflict.

Sahih al-Bukhari 2444 widens what helping someone means. When the Companions asked how they could help a brother who is the oppressor, the Prophet ﷺ answered: by preventing him from oppressing others. Loyalty in this report includes stopping your own side from doing wrong.

What This Page Does Not Cover

These sources set out principles of fairness and warnings against oppression. They do not explain how Islamic legal penalties are applied, which is a matter for qualified scholarship and legitimate courts. If you are facing an injustice yourself, seek help from people and institutions able to act on it.

Sources Cited on This Page

  1. Qur'an 4:135 · Even Against Yourselves
  2. Qur'an 5:8 · Do Not Let Hatred Lead You From Justice
  3. Qur'an 16:90 · God Commands Justice
  4. Qur'an 4:58 · Judge Between People With Justice
  5. Qur'an 6:152 · When You Speak, Be Just
  6. Qur'an 57:25 · The Scripture and the Balance
  7. Qur'an 49:9 · Reconcile Justly and Even-Handedly
  8. Sahih Muslim 6572 · I Have Forbidden Oppression for Myself
  9. Sahih al-Bukhari 2447 · Oppression Will Be Darkness
  10. Sahih al-Bukhari 2444 · Help Your Brother
  11. Sahih al-Bukhari 3475 · The Same Law for the Noble and the Poor

Common Questions

What is the Quran verse about justice even against yourself?

Qur'an 4:135 says: “You who believe, uphold justice and bear witness to God, even if it is against yourselves, your parents, or your close relatives.”

Does the Quran say to be just to enemies?

Qur'an 5:8 says “do not let hatred of others lead you away from justice, but adhere to justice, for that is closer to awareness of God.”

What does Islam say about oppression?

In Sahih Muslim 6572, Allah says He has forbidden oppression for Himself and made it forbidden among His servants. Sahih al-Bukhari 2447 says: “Oppression will be a darkness on the Day of Resurrection.”

What does “help your brother whether he is an oppressor or oppressed” mean?

In Sahih al-Bukhari 2444, the Companions asked how to help an oppressor, and the Prophet ﷺ answered: “By preventing him from oppressing others.”

Read the Sources for Yourself

Search the Quran, Hadith, Tafsir, and duas directly, or paste a quotation you have seen shared to find where it comes from.

Building an Islamic app? The same cited sources are available through the Madeenan API.