Law and Justice in Islam: Courts, Proof and Punishment
A society is only as good as its courts. If the powerful can escape the law and the weak cannot get a hearing, no amount of prayer will make it just. That is why Islam, as a complete way of life, gives detailed guidance on judging: who is equal before the law, how a case is proved, what the accused may expect, what kind of person may judge, and how its punishments work.
Equal before the law
The Qur’an commands justice even against oneself and one’s own family:
۞ يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ كُونُوا۟ قَوَّٰمِينَ بِٱلْقِسْطِ شُهَدَآءَ لِلَّهِ وَلَوْ عَلَىٰٓ أَنفُسِكُمْ أَوِ ٱلْوَٰلِدَيْنِ وَٱلْأَقْرَبِينَ ۚ إِن يَكُنْ غَنِيًّا أَوْ فَقِيرًۭا فَٱللَّهُ أَوْلَىٰ بِهِمَا ۖ فَلَا تَتَّبِعُوا۟ ٱلْهَوَىٰٓ أَن تَعْدِلُوا۟ ۚ وَإِن تَلْوُۥٓا۟ أَوْ تُعْرِضُوا۟ فَإِنَّ ٱللَّهَ كَانَ بِمَا تَعْمَلُونَ خَبِيرًۭا ﴿١٣٥﴾ O you who have believed, be persistently standing firm in justice, witnesses for Allah, even if it be against yourselves or parents and relatives. Whether one is rich or poor, Allah is more worthy of both. So follow not [personal] inclination, lest you not be just. And if you distort [your testimony] or refuse [to give it], then indeed Allah is ever, with what you do, Acquainted.
Couldn't load — please try again.
And even towards people one hates:
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ كُونُوا۟ قَوَّٰمِينَ لِلَّهِ شُهَدَآءَ بِٱلْقِسْطِ ۖ وَلَا يَجْرِمَنَّكُمْ شَنَـَٔانُ قَوْمٍ عَلَىٰٓ أَلَّا تَعْدِلُوا۟ ۚ ٱعْدِلُوا۟ هُوَ أَقْرَبُ لِلتَّقْوَىٰ ۖ وَٱتَّقُوا۟ ٱللَّهَ ۚ إِنَّ ٱللَّهَ خَبِيرٌۢ بِمَا تَعْمَلُونَ ﴿٨﴾ 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.
Couldn't load — please try again.
The Prophet ﷺ put this into practice. When a woman from a noble clan was convicted of theft, people asked his beloved Usama to intercede. He refused and addressed the people:
…O people! The nations before you went astray because if a noble person committed theft, they used to leave him, but if a weak person among them committed theft, they used to inflict the legal punishment on him.…
Couldn't load — please try again.
No title, wealth or family ties place anyone above the law, not even the ruler.
Proof, the accused and the judge
The burden of proof. The Prophet ﷺ said that if people were given whatever they claimed, some would claim the lives and property of others; so the claimant must bring evidence, and the oath is upon the one who denies (Bukhari 4552). Jurists drew from this the principle that every person is presumed free of liability until it is proven. Reports must be checked before anyone acts on them:
يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ إِن جَآءَكُمْ فَاسِقٌۢ بِنَبَإٍۢ فَتَبَيَّنُوٓا۟ أَن تُصِيبُوا۟ قَوْمًۢا بِجَهَٰلَةٍۢ فَتُصْبِحُوا۟ عَلَىٰ مَا فَعَلْتُمْ نَٰدِمِينَ ﴿٦﴾ O you who have believed, if there comes to you a disobedient one with information, investigate, lest you harm a people out of ignorance and become, over what you have done, regretful.
Couldn't load — please try again.
The verdict does not change the truth. Even the Prophet ﷺ judged only by the evidence before him, and warned that winning a case by clever argument does not make another’s right lawful:
…I give my verdict according to what I hear. So if ever I judge (by error) and give the right of a brother to his other (brother) then he (the latter) should not take it, for I am giving him only a piece of Fire.…
Couldn't load — please try again.
The rights of the accused. Each person carries only his own guilt, never another’s (Qur’an 6:164). Both sides must be heard before a judgment is given (Tirmidhi 1331). The majority of jurists held that a confession taken under torture or threat is invalid, and that a confession to a hadd offence may be withdrawn.
The ethics of judges. Judging is a heavy trust:
…Judges are of three types, one of whom will go to Paradise and two to Hell.…
Couldn't load — please try again.
A judge must not rule while angry:
…A judge should not judge between two persons while he is in an angry mood…
Couldn't load — please try again.
And the Prophet ﷺ cursed both the one who gives a bribe and the one who takes it (Abu Dawud 3580).
The fixed punishments, honestly presented
Most offences in Islamic law fall under ta’zir: penalties left to the court’s judgment, which can be light, including a warning. A small number of crimes carry fixed penalties called hudud (limits), set by God and not open to bargaining. The ones agreed upon are: theft (cutting off the hand, Qur’an 5:38), armed robbery and terrorising travellers (Qur’an 5:33), adultery and fornication (a hundred lashes for the unmarried, Qur’an 24:2, and stoning for a married person according to the Sunnah, held by the great majority of scholars), false accusation of adultery, and drinking wine (lashes, whose number scholars discuss). Classical scholars also discussed some other offences, such as apostasy and armed rebellion, and differed in how to classify them. Muslims do not deny or apologise for any of this. But they also do not ignore the conditions:
- The offender must be adult, sane, aware of the prohibition and acting freely.
- Theft applies only above a minimum value (Bukhari 6789), to property that was properly secured, where the thief had no share or claim in it and was not driven by need. Umar is reported to have suspended this punishment during a year of famine.
- Adultery requires four upright eyewitnesses to the act itself, or a free, repeated confession. Anyone who accuses without four witnesses is punished himself:
وَٱلَّذِينَ يَرْمُونَ ٱلْمُحْصَنَٰتِ ثُمَّ لَمْ يَأْتُوا۟ بِأَرْبَعَةِ شُهَدَآءَ فَٱجْلِدُوهُمْ ثَمَٰنِينَ جَلْدَةًۭ وَلَا تَقْبَلُوا۟ لَهُمْ شَهَٰدَةً أَبَدًۭا ۚ وَأُو۟لَٰٓئِكَ هُمُ ٱلْفَٰسِقُونَ ﴿٤﴾ And those who accuse chaste women and then do not produce four witnesses - lash them with eighty lashes and do not accept from them testimony ever after. And those are the defiantly disobedient,
Couldn't load — please try again.
Above all, jurists agreed that any real doubt cancels a fixed punishment. A narration with the words “avert the hudud” exists, but its chain is weak (Tirmidhi 1424); the principle itself rests on the practice of the Prophet ﷺ and his Companions. Only a legitimate court with due process may apply these laws, never an individual or self-appointed group. More on this in is sharia dangerous?
The door of repentance
Right after the punishment for theft, the Qur’an opens the way back:
وَٱلسَّارِقُ وَٱلسَّارِقَةُ فَٱقْطَعُوٓا۟ أَيْدِيَهُمَا جَزَآءًۢ بِمَا كَسَبَا نَكَٰلًۭا مِّنَ ٱللَّهِ ۗ وَٱللَّهُ عَزِيزٌ حَكِيمٌۭ ﴿٣٨﴾ فَمَن تَابَ مِنۢ بَعْدِ ظُلْمِهِۦ وَأَصْلَحَ فَإِنَّ ٱللَّهَ يَتُوبُ عَلَيْهِ ۗ إِنَّ ٱللَّهَ غَفُورٌۭ رَّحِيمٌ ﴿٣٩﴾ 38[As for] the thief, the male and the female, amputate their hands in recompense for what they committed as a deterrent [punishment] from Allah. And Allah is Exalted in Might and Wise. 39But whoever repents after his wrongdoing and reforms, indeed, Allah will turn to him in forgiveness. Indeed, Allah is Forgiving and Merciful.
Couldn't load — please try again.
When Ma’iz came to the Prophet ﷺ to confess, he was sent away again and again and told to seek God’s forgiveness; afterwards the Prophet ﷺ praised his repentance as enough for a whole people (Muslim 4431). The Prophet ﷺ also taught that whoever covers a fellow Muslim’s fault, God will cover his on the Day of Resurrection (Bukhari 2442). Those who wage armed robbery and repent before they are caught are spared its fixed penalty (Qur’an 5:34).
So the law has two faces. To the public it declares, with severe penalties, how serious some crimes are. To the sinner it whispers: turn back to God, and He will turn to you. Read more about the foundations in justice in Islam.
Key takeaways
- All are equal before God's law; the Prophet ﷺ said he would apply it even to his own daughter.
- The burden of proof is on the claimant; the defendant who denies takes an oath.
- Judges must hear both sides, never judge in anger, and never take bribes.
- The hudud punishments are part of the Shari'ah, but they need very strict proof and are averted by doubt.
- Repentance is always open, and the Prophet ﷺ preferred that people cover their sins and repent.


