A madhhab is a school of legal thought within Islamic jurisprudence — a structured method that scholars use to interpret the Quran and the prophetic traditions and derive rulings from them. The word itself means “path” in Arabic, and each school represents a distinct route through centuries of legal reasoning. There are four major Sunni schools (Hanafi, Maliki, Shafi’i, and Hanbali), three major Shi’a traditions (Ja’fari, Zaidi, and Ismaili), and the independent Ibadi school, which predates the Sunni-Shi’a split. All of them draw on the same foundational texts, but they weigh reasoning, community practice, and prophetic reports differently, which is why a ruling on inheritance, dietary law, or a commercial contract can shift depending on which school a jurist follows.
The Four Sunni Schools
Sunni Islam recognizes four schools, each named for the scholar whose teachings shaped it. They emerged as the early Islamic state expanded and local jurists built frameworks to resolve disputes across diverse territories.
Hanafi
Founded by Imam Abu Hanifa in eighth-century Iraq, the Hanafi school is the most widely followed Sunni tradition. It predominates in Turkey, Central Asia, South Asia, and the lands of the former Ottoman Empire.1Britannica. Hanafiyah Its defining feature is a willingness to use logical deduction and judicial reasoning. When early texts do not address a situation directly, Hanafi jurists have historically reasoned their way to an answer rather than insist on a strict textual parallel. That flexibility made the school workable for large, diverse empires, including the Abbasid and Ottoman states, where rigid rules would have failed across such varied populations.
Maliki
The Maliki school, named for Imam Malik ibn Anas of eighth-century Medina, dominates North and West Africa.2Encyclopedia.com. Maliki School of Law What sets it apart is the weight it gives to the living practice of the Medinan community. Malik viewed the customs of Medina’s residents as a continuous, embodied record of how the Prophet and his companions actually lived. Where other schools might rely on a single prophetic report, Maliki jurists could override that report if it conflicted with longstanding Medinan practice. The school also makes extensive use of public interest reasoning, letting jurists shape rulings around what best serves communal welfare.
Shafi’i
Imam al-Shafi’i, born in 767 and active primarily in Egypt, built the most methodologically rigorous of the four schools. He is credited with formalizing the theory of Islamic legal reasoning itself, insisting on a strict hierarchy of sources and demanding that every ruling trace back to verified textual evidence. Where Malik relied on Medinan practice, al-Shafi’i argued that only documented prophetic traditions carried binding authority. He accepted analogical reasoning but subordinated it to those traditions. The result was a synthesis that balanced text and logic while limiting room for subjective judgment. The Shafi’i school predominates today in eastern Africa, Southeast Asia, and parts of the Arabian Peninsula.3Britannica. Abu Abd Allah al-Shafii
Hanbali
The Hanbali school, founded by Imam Ahmad ibn Hanbal in the ninth century, is the most text-centered of the four. Hanbali jurists historically rejected the rationalist tools that other schools embraced, preferring to rely on documented prophetic traditions even when those traditions came through a single chain of transmission that other schools might consider too weak to use alone. Saudi Arabia remains the principal country that applies Hanbali law, and the school’s influence extends through parts of the Persian Gulf.4Encyclopedia.com. Hanbali School of Law Its rulings tend toward conservative positions on social questions, though the school has also produced scholars who argued for flexibility in areas where the texts are genuinely silent.
The Shi’a Schools
Shi’a legal traditions differ from Sunni schools in a basic structural way. They treat the teachings of the Imams descended from the Prophet’s family as a binding source of law alongside the Quran and prophetic traditions. The three major Shi’a schools each define the scope of that authority differently.
Ja’fari
The Ja’fari school is the largest Shi’a tradition, named for the sixth Imam, Ja’far al-Sadiq, who was a major eighth-century legal scholar.5Al-Islam.org. The Formation of the Jafari Shia Islamic School of Law from Its Inception to the Occultation It is the official source of Islamic law in Iran and holds major influence in Iraq.6Law and Religion Forum. An Intellectual History of the Jafari School
What makes Ja’fari jurisprudence distinctive is its reliance on living scholarship. Unlike Sunni schools, where the founders’ rulings form a largely settled body of law, Ja’fari practice requires followers to look to a living senior scholar known as a marja al-taqlid, or source of emulation. The reasoning is practical: Muslims face new problems constantly, and a living jurist who understands the current moment is better positioned to respond than rulings issued centuries ago. The school’s legal positions can therefore evolve within a single generation when a new marja departs from his predecessor’s views.
Ja’fari practice also imposes a distinct financial obligation called khums, a 20% payment on surplus annual income after living expenses, calculated at the end of a follower’s fiscal year.
Zaidi
The Zaidi school, named for Zaid ibn Ali and historically concentrated in Yemen, sits closer to Sunni legal thought than any other Shi’a tradition. Where the Ja’fari school holds that the Imams receive divine designation, Zaidis believe religious knowledge comes through learning rather than supernatural appointment.7Encyclopedia Britannica. Zaydiyyah Any learned descendant of the Prophet who demonstrates scholarly expertise and is willing to lead the community can serve as Imam. That emphasis on merit and active leadership rather than inherited spiritual authority is why Zaidi legal rulings frequently overlap with Hanafi and Shafi’i positions.
Ismaili
The Ismaili legal tradition emerged after the founding of the Fatimid dynasty in North Africa and shares early roots with the Ja’fari school, since both trace their jurisprudence back to Imam Ja’far al-Sadiq. Its legal framework was systematized by Qadi al-Nu’man, a Fatimid-era jurist who remains the school’s foundational legal authority. Ismaili jurisprudence rejects analogical reasoning and personal opinion as sources of law, relying instead on the Quran, prophetic traditions, and the teachings of the Imams. When a question cannot be resolved through these sources, it is referred directly to the living Imam.8Encyclopaedia Iranica. Ismailism XI – Ismaili Jurisprudence Ismaili communities today are found across South Asia, East Africa, and parts of the Middle East.
The Ibadi School
The Ibadi school predates the Sunni-Shi’a split and belongs to neither tradition. Founded by Jabir ibn Zayd in the early eighth century, it is the dominant school in Oman and has smaller communities in parts of North and East Africa. Ibadi jurisprudence is built on a philosophy of tolerance and avoidance of sectarian conflict. Sunni schools require the Imam to come from the Prophet’s tribe, and Shi’a schools require descent from the Prophet’s family; the Ibadi tradition holds that any qualified Muslim can serve as Imam regardless of ancestry. If no suitable candidate exists, the position stays vacant until one emerges, and an Imam who fails to meet expectations can be removed. In practice, Ibadi legal rulings often overlap with mainstream Sunni positions, and communal prayers in Oman routinely include Sunnis, Shi’a, and Ibadis worshipping side by side.
How the Schools Derive Rulings
Every madhhab draws from the same basic toolkit, but the schools disagree on the order of priority and the conditions for using each tool. That disagreement explains why the same question can produce different answers depending on which school a jurist follows.
The Quran comes first for every school. When it speaks directly to a question, the analysis stops there. When it doesn’t, scholars turn to the Sunnah, the collected records of the Prophet’s words and actions, which fill in context and detail that the Quran’s broader principles leave open.9Federal Judicial Center. Islamic Law and Legal Systems
When neither text resolves a question, two secondary tools come into play. Ijma is the consensus of recognized legal scholars on a specific point. Once genuine consensus forms, it is treated as binding and prevents future scholars from reaching a contradictory conclusion on that issue. Qiyas, or analogical reasoning, extends an existing ruling to a new situation that shares the same underlying rationale. The classic illustration: if a substance is prohibited because it intoxicates, a newly discovered substance with the same effect receives the same prohibition, even though no early text names it.9Federal Judicial Center. Islamic Law and Legal Systems
Beyond these four core sources, some schools accept additional tools. Maliki and Hanbali jurists sometimes invoke public interest, called maslaha, allowing a ruling that protects community welfare even without a direct textual basis. Several schools recognize local custom, called urf, as relevant where it does not contradict the Quran or Sunnah. The Hanafi school’s reputation for flexibility stems largely from its willingness to use juristic preference, called istihsan, to avoid outcomes that would be technically correct under strict analogy but practically unjust. Each school’s internal logic dictates how these tools are ranked, which is why a ruling on a business contract or inheritance share can differ meaningfully between traditions even though all draw from the same foundational texts.
Following a Madhhab in Practice
Most Muslims are not trained jurists, and the schools address this reality through the concept of taqlid. In its simplest form, taqlid means following the rulings of a qualified scholar without independently investigating the legal reasoning behind each one. It is not blind obedience; it is the recognition that deriving rulings directly from the Quran and Sunnah requires years of specialized training that most people do not have, in roughly the way a patient follows a doctor’s medical advice without independently reviewing the clinical literature.
Most people inherit their madhhab through family and community. If your parents followed the Hanafi school and your local mosque operates within that tradition, you will almost certainly follow Hanafi rulings on prayer, fasting, dietary restrictions, and personal financial obligations. The school shapes daily habits in ways that can feel invisible, from the precise posture during prayer to how you calculate charitable obligations.
The practice of talfiq, combining rulings from different schools within a single legal question, is traditionally discouraged. The concern is practical: if a person is free to pick the most convenient ruling from any school on any issue, they can effectively construct a personalized version of the law that avoids every difficult obligation, which undermines the coherence that makes each school function as a legal system. Some modern scholarly councils allow limited cross-school borrowing to address genuinely difficult contemporary problems, but the general expectation is that a person follows one school consistently.
One last point about scope. A madhhab governs the derivation and application of Islamic legal rulings within a religious framework. It is not a civil legal system in countries that have not adopted it as such, and in secular jurisdictions, matters like marriage, divorce, custody, and inheritance are governed by domestic law regardless of which school a person follows. Where religious and civil rulings interact, the terms of that interaction are set by the civil courts, not by the madhhab.