Knowledge History & Heritage

Seerah al-Sarakhsi — Abu Bakr Muhammad ibn Ahmad ibn Abi Sahl al-Sarakhsi (d. c.1090 CE): The Hanafi Jurist Who Dictated the Thirty-Volume Mabsut (The Extensive Exposition of Hanafi Law) From Memory While Imprisoned in a Well, Producing the Most Comprehensive Encyclopedia of Classical Hanafi Jurisprudence, and Whose Usul al-Sarakhsi Is a Major Work on Hanafi Legal Theory

سِيرَةُ السَّرَخسِيّ — أَبُو بَكرٍ مُحَمَّدُ بنُ أَحمَدَ بنِ أَبِي سَهلٍ السَّرَخسِيُّ [تُوفِّيَ حَوَالَيِ 483هـ / 1090م]: الفَقِيهُ الحَنَفِيُّ الَّذِي أَملَى 'المَبسُوط' فِي ثَلَاثِينَ جُزءًا مِن حِفظِهِ وَهُوَ مَسجُونٌ فِي بِئر مُنتِجًا أَكبَرَ مَوسُوعَةٍ لِلفِقهِ الحَنَفِيِّ الكَلَاسِيكِيِّ وَكِتَابُهُ 'أُصُولُ السَّرَخسِيّ' مَرجِعٌ أَسَاسِيٌّ فِي النَّظَرِيَّةِ القَانُونِيَّةِ الحَنَفِيَّة
2 min read · 305 words

Seerah al-Sarakhsi (سِيرَةُ السَّرَخسِيّ; full name: Abu Bakr Muhammad ibn Ahmad ibn Abi Sahl al-Sarakhsi; born in Sarakhsh [in Khurasan, near modern Sarakhs in Turkmenistan/Iran border]; died approximately 483 AH / 1090 CE; Hanafi in fiqh; Maturidi in kalam; his context: he was a student of the great Hanafi scholar Qadi al-Samarqandi [Abu al-Yusr Muhammad al-Bazdawi]; his imprisonment: the most extraordinary fact of his biography is the circumstance of his major work's composition; al-Sarakhsi was imprisoned in a well [some accounts say a pit-prison] in Uzjand [or Uzkand] in Fergana Valley [Central Asia]; the reason for his imprisonment is debated: some accounts say he offended the local ruler with a legal opinion; some say he refused a specific request; he was held there for approximately 15 years; dictating the Mabsut: rather than abandoning his scholarship, al-Sarakhsi dictated the Mabsut to his students who gathered at the top of the well while he dictated from memory below; the students wrote down the text as it was dictated; this is one of the most remarkable acts of scholarly production in Islamic history; the Mabsut [المَبسُوط — The Extensive]: al-Sarakhsi's magnum opus; 30 volumes [in standard modern editions]; covers the entire spectrum of Hanafi fiqh: purification [taharah], prayer [salah], zakat, fasting, hajj, transactions [mu'amalat], personal status [ahwal shakhsiyyah], criminal law [hudud and qisas], judicial procedures [qada'], and more; the primary source: the Mabsut is largely a commentary and expansion on the Kafi of al-Hakim al-Shahid [which was itself a condensation of Muhammad ibn al-Hasan al-Shaybani's works]; but al-Sarakhsi adds extensive analysis, reconciles contradictions in the Hanafi corpus, and records variant opinions within the school; Usul al-Sarakhsi: his second major work; a text on the principles of Hanafi jurisprudence [usul al-fiqh from the Hanafi perspective]; important for understanding Hanafi legal reasoning methodology; its major themes: how Hanafis handle contradiction between hadith and qiyas; the role of ra'y [opinion] in Hanafi methodology; Imam Abu Hanifa's foundational principles; the scale of the achievement: 30 volumes of dense legal analysis produced from memory while imprisoned represents an almost unimaginable feat of scholarship; the Mabsut remained the primary reference for Hanafi legal rules for centuries; modern Hanafi scholars and courts in countries following Hanafi fiqh still consult it; legacy: the Mabsut is to Hanafi jurisprudence what Imam Malik's Muwatta is to Maliki jurisprudence — the foundational comprehensive reference that later scholarship builds upon and responds to) is the Hanafi school's great imprisoned encyclopedist.

Dictating From a Well

The Mabsut’s origin story is one of Islamic scholarship’s most extraordinary: al-Sarakhsi imprisoned in a well for fifteen years, dictating thirty volumes of Hanafi jurisprudence from memory to students gathered at the well’s mouth.

Whatever the reason for his imprisonment — and the sources differ — the result was one of the most comprehensive legal encyclopedias in any tradition, produced under conditions that would have broken most scholars’ intellectual output entirely. The Mabsut is not a work dashed off under duress; it is the systematic, careful exposition of an entire legal tradition organized by subject, analyzing contradictions, citing sources, and building the reader’s understanding from foundational principles to complex rulings.

The feat of memory required to produce it — without access to manuscripts, unable to revise, dependent on students’ transcription — places al-Sarakhsi alongside the great scholars of the oral tradition who carried legal and theological knowledge in their minds across generations.


The Mabsut’s Structure and Scope

The Mabsut is primarily a commentary on the Kafi of al-Hakim al-Shahid, which condensed Muhammad ibn al-Hasan al-Shaybani’s foundational Hanafi texts. Al-Sarakhsi expands every topic, reconciles apparent contradictions within the Hanafi corpus, records variant opinions among the school’s founding scholars, and adds his own analysis.

The thirty volumes cover the full scope of Islamic law from ritual to commerce to crime to adjudication — a complete map of how Hanafi jurisprudence handles every domain of human life.


The Usul al-Sarakhsi is less famous but equally important for understanding the Hanafi school’s distinctive approach to legal reasoning: the relative priority of Prophetic traditions versus systematic reasoning (qiyas), the role of the founder’s personal opinion (ra’y) in the school’s formation, and how apparent contradictions in the sources are resolved.

See also: Fiqh Al Ijtihad Wal Taqlid, Fiqh Al Usul Al Fiqh, Seerah Al Kasani, Fiqh Al Ahkam Al Khamsah, Fiqh Al Maqasid Al Shariah

← All articles
← Previous
Fiqh al-Ijarah al-Mawsufah fi al-Dhimma — The Forward Lease Contract in Islamic Law: The Ijarah al-Mawsufah fi al-Dhimma Structure (A Lease of Services or Usufruct Described With Precision but Deferred to a Future Time or Asset Not Yet Identified, Permitted as an Exception to the Gharar Rules Because the Lease Object Is Described, Not Unknown), How It Underlies Sukuk al-Ijarah Capital Market Instruments, and Its Use in Infrastructure Financing
Next →
Seerah al-Kasani — Ala al-Din Abu Bakr ibn Mas'ud al-Kasani (d. 1189 CE): The Hanafi Jurist Who Wrote Bada'i' al-Sana'i' fi Tartib al-Shara'i' (Wonders of Craftsmanship in the Ordering of the Laws), the Most Beautifully Organized of the Hanafi Encyclopedias, Whose Systematic Arrangement and Clear Reasoning Made It the Preferred Entry Point to the Hanafi Tradition, and Who Married His Shaykh's Daughter as a Dower of His Own Book

More in History & Heritage

← Back to all articles