Habs (imprisonment and detention)

الحبس

In the technical sense habs is holding a person back, preventing him from acting for himself and going about his affairs. Jurists agree that it is lawful. Most treat it as a branch of discretionary punishment (ta'zir), used either as a penalty or to secure a suspect, and most set no upper limit on its length, leaving that to the judge. It may be open-ended or for life, and it ends with death, repentance or the pardon of the person wronged. 1 2 3 4 5 6 7 8 9 10 11 12 13 Jurists also set rules for women, ambiguous and juvenile detainees, the prisoner's transactions, maintenance and oaths, the prohibited forms of discipline, and the jailer's qualities and the state's duty to oversee prisons. 14 15 16

Depth

At a glance

Review
Draft Completeness 0/5 · Help complete it

Crime and punishmentLaw and courts

Overview

Habs, in the technical sense, is holding a person back, preventing him from acting for himself and going about his affairs. 1

Meaning and related terms

Habs means restraint and holding back; the word also names a prison and the act of detaining. 2

Habs differs from waqf: habs applies to persons, while waqf applies to property. 3

Habs also differs from hajr (legal incapacity), which removes a person's power to act, whereas habs holds the person himself. 2

Lawfulness

Jurists agree that habs is lawful, citing texts and cases, including the practice of detaining a killer until death in some reports and detaining a man on suspicion. 3 4 5

Detention as punishment

Detention as punishment applies to offences for which no fixed penalty (hadd) is set. Most jurists treat it as a branch of discretionary punishment (ta'zir); the classical books list five cases, including detaining a person who refuses to pay a due right. 6

Detention may be combined with other penalties, such as flogging, and the law leaves this to the judge because people differ in how they are deterred. 6 7

Duration

The least term is, in one view, a single day. Most jurists set no upper limit and leave it to the judge; some Shafiis set six months, others a year. 7

Jurists distinguish a short detention (under a year) from a long one (a year or more). 7

Open-ended and life detention

A judge may leave the term open and tie release to repentance, as with a man who sells wine until he repents, or rebels until their repentance is known. Life detention is also recorded: Uthman had Dabi ibn al-Harith held until he died, and Ali ordered that a man who held another for a killer be held until death. 8 9

Ending detention

Detention ends at death. If a person goes insane after the offence, most jurists halt it; the Hanbalis do not. A pardon by the person wronged ends detention for a private right, and intercession is allowed before or after the order if it causes no harm. 9 10

Detention as a penalty and as a safeguard

Detention is a pure deterrent under ta'zir and does not expiate the offence, unlike the fixed penalties which expiate their perpetrators. 10

Detention for security covers suspicion, precaution and enforcing another penalty. Most jurists allow detention of a suspect where strong evidence exists, and an unknown person may be held until his case is clear. Jurists differ over whether the ruler alone or also the judge may order it. 11 12 13

Detention for security

Detention for precaution protects the public from a harm expected if the person is left free and does not require a suspicion. Examples include holding a person whose evil eye harms people, and holding the women and children of rebels. 17

Execution may be postponed while a person is ill, pregnant, in childbed or nursing, and a suspect of a fugitive may be held. A killer may be held while the victim's heirs include a minor or absent person, until the absent heir comes or the minor reaches maturity. 17 18

Al-Qarafi's list

Al-Qarafi lists eight grounds for detention, among them holding the perpetrator while the victim's guardian is absent, holding a runaway slave, holding a person who refuses a due right, and holding a person whose case is unclear. 18 19

Killers and accessories

Jurists differ about holding a killer whose victim's heirs pardon him. The majority do not detain him, while the Malikis flog him and imprison him for a year. 20

Prisoners and places of detention

Jurists assign women a separate place of detention, guarded by women or by a trustworthy man where no women's prison exists. 14 15

An ambiguous (khuntha mushkil) detainee is held alone or with a mahram, not with men or women. 14

On juveniles: Malikis, Shafiis and one Hanafi view hold that a minor is not jailed for debt but disciplined; a minority of Hanafis allow detention where the minor was authorised to sell and wronged others. 15 Some hold a minor apostate detained until he repents, and minor rebels held until the war ends. 21

Jurists separate those held for debts from those held for crimes, and classify criminal prisoners into the immoral, thieves and those guilty of bodily offences. 21 22

Detention is normally collective, but a judge may isolate a prisoner alone in a room where it serves a purpose. 22 Detention under house arrest is permitted, as with restraining a person who harms others by the evil eye in his own home. 22

Sick prisoners, worship and work

A sick prisoner who can be treated inside is not released. Where treatment is not possible inside, there are three views: release to protect life, release only on surety, or treatment inside. Umar ibn Abd al-Aziz urged that sick prisoners be looked after. 23

On whether a prisoner may leave for Friday and Eid prayers, opinion is divided; where the conditions for Friday prayer are met inside, it may be held there. 23 24 On work, the Shafiis and Hanbalis allow it, while the accepted Hanafi view forbids it so that detention keeps its force. 24

Transactions of prisoners

Detention does not remove legal capacity: a prisoner may buy and sell, and a sale made under compulsion may be annulled. 24 Abu Hanifa held that a prisoner's pledge may stand, the majority holding it depends on the judge and creditors. 25 A gift of property by a prisoner sentenced to death is valid only up to a third. 26

Spouse, maintenance, oath of abstention and imprecation

Views differ on whether a detained husband may have intercourse with his wife. Detention does not bar a husband from maintaining his wife, but views differ on whether a detained husband's wife is owed maintenance. 26 27 Detention for a right the husband can discharge is counted toward the oath of abstention (ila'), while detention of the wife is not; the rules on imprecation (li'an) require prompt denial, with detention an accepted excuse for delay. 27 28

Appearing in court and as a witness

A detained party brought for a claim may appoint a representative to answer when he cannot appear; likewise a detained witness may appoint someone to give his testimony. 28 29

Forms of discipline that are forbidden

Discipline aims at correction, not humiliation or destruction. Forbidden: mutilation, striking the face, chains on the neck, burning, choking or drowning, starvation, exposure to extreme heat or cold, stripping, barring wudu or prayer, insulting him, and setting animals on him. 29 30 Torture by oil, insects or sun-exposure is not permitted; discipline is by whip or imprisonment. 30

Madness and escape

A prisoner who goes mad is released while the madness lasts (Malikis, Hanafis and Shafiis); the Hanbalis hold that madness does not bar discipline. 30 A prisoner who attacks a guard is treated as an aggressor and first warned, then restrained with the least force needed. 31

The jailer and state oversight

A jailer should be trustworthy, shrewd, pious and gentle; for women's prisons piety is more important. Ali is reported to have employed the Sababija, men known for their strength, as guards in Basra. 31 16 The state should oversee prisons and their conditions; Abu Yusuf held that a judge's first duty on taking office is to review the prisons. 16

The article ends at the next heading, "Habl al-Habla", on p.6789. 16

People and things also explored

Hadr (blood and value wasted: no retaliation, no compensation)· Hashima (a head wound that breaks the bone: its compensation)· Ali's counsel in Umar's judgments· Ali flogs the poet al-Najashi al-Harithi for drinking wine in Ramadan· Ali frees two men who each confessed to one killing and pays the diya from the treasury· Ali's judgment on the men who fell into a lion pit in Yemen· Ali's rulings on the apostate and the zindiq, and the ways he killed them· Ali's judgment on a slap over a debased dirham in Kufa

Sources

  1. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6741
  2. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6742
  3. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6743
  4. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6744
  5. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6745
  6. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6746
  7. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6747
  8. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6748
  9. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6749
  10. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6750
  11. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6751
  12. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6752
  13. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6753
  14. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6776
  15. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6777
  16. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6789
  17. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6754
  18. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6755
  19. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6756
  20. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6757
  21. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6778
  22. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6779
  23. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6780
  24. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6781
  25. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6782
  26. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6783
  27. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6784
  28. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6785
  29. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6786
  30. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6787
  31. al-Mawsu'a al-Fiqhiyya al-Kuwaitiyya, Noor-Book copy (file named v3) , p.6788
Cite this page

islam.museum contributors. “Habs (imprisonment and detention)”. islam.museum, https://islam.museum/en/concept/habs/. CC BY-SA 4.0. Last updated 2026-10-23.

Improve this page on GitHub · Report an error · JSON

Wing

Ideas

Beliefs, concepts, sciences and schools, explained in plain words.
Related

Hadr (blood and value wasted: no retaliation, no compensation)

Hadr means waste or nullity; as a technical term, a hadr soul is one for which there is neither retaliation, diya nor expiation. The principle is that a human life is protected, but an apostate is an exception agreed by the jurists: the imam or his deputy executes him, and if someone other than the imam kills him without authorisation there is no retaliation or diya, though he is disciplined (ta'zir). The blood of a heretic whose innovation is takfiri is also wasted, and so is that of a belligerent non-Muslim; non-combatants such as women, children, the old, and monks may not be killed. The blood of a married adulterer is wasted in the view of most jurists; the Hanafis require that the killing follow a judgment. Where a wounded person's status changed between protected and wasted before death, the majority hold the earlier wound unliable, while Ibn al-Qasim (Maliki) holds a diya due. If a Muslim shot a hadr person who then converted before the arrow struck, the majority hold no retaliation is due, while the Shafi'is hold, in the sounder view, a lighter diya paid by the kin. For the Shafi'is the retaliation is claimed by the Muslim next of kin; for the Hanbalis it is the imam who executes. A person whose blood is wasted need not be given water he needs, and the Shafi'is and Hanbalis permit a compelled person to kill such a person to save his own life if no other food is found. One whose blood was wasted by a crime who kills himself gets no expiation from that act, since he has no right to spill his own blood.