
Fiqh Madhhabs Unveiled: Hanafi & Shafi'i Schools in Abbasid Baghdad, Kufa, Medina & Cairo
Picture the sun-baked streets of Abbasid Baghdad in the 8th century, where merchants from Persia haggled with traders from the Byzantine frontier, and scholars in modest robes gathered in mosque courtyards to unravel the threads of divine law. Here, fiqh—the human science of Islamic jurisprudence—took root not as abstract theory, but as vibrant, place-bound practice. Amid the empire's cultural crossroads, the Hanafi and Shafi'i madhhabs, or schools of Islamic law, emerged as scholarly institutions shaping ritual, transaction, and daily life. These weren't monolithic codes but dynamic responses to local realities, drawing from Quran, hadith, consensus (ijma), and analogy (qiyas) in usul al-fiqh.
From Kufa's bustling markets to Cairo's Nile-fed academies, these schools illustrate how fiqh intertwined law, ritual observance, and scholarly authority without claiming universal dominion. Their story, spanning the 8th to 12th centuries, reveals a tapestry of interpretation that continues to inspire curiosity today.
The Hanafi Madhhab: Kufa's Marketplace Wisdom to Baghdad's Imperial Seat
In the Mesopotamian hub of Kufa, during the Umayyad era transitioning to Abbasid rule, Abu Hanifa (d. 767 CE) forged the Hanafi school. A silk merchant by trade, he embodied fiqh's practical bent, prioritizing reason (ra'y) alongside transmitted texts. Kufa's diverse populace—Arabs, Persians, mawali converts—demanded rulings on contracts, inheritance, and prayer amid tribal feuds and urban growth.
Abu Hanifa's disciples, like Abu Yusuf and Muhammad al-Shaybani, carried the torch to Baghdad, the Abbasid capital founded in 762 CE. There, amid caliphal patronage, the school systematized usul al-fiqh, favoring qiyas for novel cases. Hanafi jurists distinguished ritual purity (e.g., wudu ablutions) from contractual law, issuing fatwas tailored to Baghdad's multicultural commerce. A merchant's disputed sale? Analogy to prophetic sales precedents resolved it, grounding authority in scholarly consensus rather than state decree.
Enduring Legacy in Abbasid Administration
By the 9th century, Hanafis dominated Abbasid courts, their madhhab adapting to imperial needs without eclipsing ritual's sanctity. This rootedness in Kufa and Baghdad underscores fiqh as a scholarly enterprise, responsive yet principled.
The Shafi'i Madhhab: Medina's Hadith Heartland to Cairo's Vibrant Circles
Across the Hijaz in Medina, the Prophet's city, Imam Muhammad ibn Idris al-Shafi'i (767–820 CE) absorbed hadith's living pulse. A descendant of the Prophet, he critiqued unchecked ra'y, journeying to Baghdad in 810 CE to debate Hanafis. His Risala, a cornerstone of usul al-fiqh, hierarchized sources: Quran first, then Sunna (hadith), ijma, and strict qiyas.
Exiled to Egypt, Shafi'i planted his Shafi'i school in Cairo's nascent scholarly scene by 814 CE. Fustat's mosques buzzed with his students dissecting ritual prayer timings or zakat calculations, attuned to Nile Valley agriculture and Mediterranean trade. Shafi'is emphasized textual fidelity, distinguishing ritual's inviolability (like hajj rites) from adaptive legal rulings.
From Baghdad Debates to Fatimid-Era Flourish
Through the 10th–12th centuries, Shafi'i networks thrived in Cairo, issuing fatwas on local Nile floods or caravan disputes, embodying Islamic law's contextual nuance.
Usul al-Fiqh: The Methodological Bedrock of Hanafi and Shafi'i Schools
Both Hanafi Shafi'i schools anchored in primary sources. Quran provided unambiguous commands, like prayer's pillars. Hadith collections—Bukhari, Muslim—furnished prophetic example. Ijma captured community consensus, qiyas extended rulings analogically. Yet application varied: Hanafis leaned on juristic preference (istihsan) for equity in Kufa's markets; Shafi'is on stricter hadith in Medina's traditions.
- Quran & Hadith: Immutable cores for ritual and ethics.
- Ijma & Qiyas: Bridges to unlegislated matters, like urban finance.
This framework kept law (mu'amalat) distinct from ritual worship (ibadat) and authority (who issues fatwas?), fostering scholarly independence.
Fatwas in Context: Local Colors of Fiqh Practice
Fatwas—non-binding legal opinions—animated these madhhabs. In Baghdad's Abbasid hubs, Hanafi muftis addressed Persian-influenced customs; in Cairo, Shafi'is navigated Coptic interactions. A Kufan fatwa on slave manumission reflected tribal norms; a Cairene one on crop shares mirrored agrarian cycles. These responses highlighted fiqh's diversity, not uniformity.
Reflections on Diversity and Ongoing Horizons
The Hanafi Shafi'i schools of Abbasid Baghdad, Kufa, Medina, and Cairo remind us of Islamic law's scholarly vitality—situated, interpretive, plural. They neither universalized nor ossified; instead, they invited perpetual engagement with sources.
How might a Hanafi ruling on trade in bustling Baghdad differ from a Shafi'i fatwa on ritual in serene Medina? Ponder these contrasts to appreciate fiqh's enduring, context-rich depth.
