Sign in

Al-Shafi'i and the schools of law

c. 820 CE

Al-Shafi'i's Risala sets out how Islamic law is derived from the Quran, the Prophet's example, consensus and analogy. The four Sunni schools of law take shape in the 8th and 9th centuries.

The story

Muhammad ibn Idris al-Shafi'i, born in Gaza in 767 and trained in Mecca, Medina and Baghdad, wrote the Risala, a short book that explained how Muslim jurists should derive law. He set out four sources: the Quran; the Sunna, the Prophet's words and deeds as preserved in hadith; consensus (ijma) of the scholars; and analogy (qiyas). Above all, he argued that a sound hadith from the Prophet had to outweigh local custom or a scholar's personal opinion. Al-Shafi'i taught first in Iraq, then settled in Egypt, where he refined his views and died in 820.

His book gave Islamic law a method. Earlier scholars in places like Medina, Kufa and Basra had developed different traditions of legal reasoning, often tied to one city's practice. Out of these came the four main Sunni schools of law, named for Abu Hanifa, Malik ibn Anas, al-Shafi'i and Ahmad ibn Hanbal. They agree on much and differ on details, and Muslims normally follow one. The Shafi'i school spread through Egypt, East Africa, Yemen and Southeast Asia, where it remains widespread.

Why it mattered

  • Islamic jurisprudence (usul al-fiqh) gained a systematic method that later scholars built on.
  • The Prophet's hadith became the central source of law after the Quran, boosting hadith scholarship like Bukhari's.
  • The four Sunni schools became the framework for law, courts and teaching across the Muslim world.
  • Shafi'i law shaped legal life in Egypt, Yemen, East Africa and Southeast Asia.

Sources

  1. Abu Abd Allah al-Shafi'i Britannica
  2. Shafi'i Britannica

Drafted by AI (Claude) from the sources above and checked against them by AI; no historian has reviewed this page. Spot a mistake? Suggest a correction. How pages are made

Community notes

Loading notes…

Learn more ranked by votes

Documentbritannica.com
Shafi'i school (Britannica)
Editor's pick
BookWael B. Hallaq
The Origins and Evolution of Islamic Law
Search Open Library
VideoSearch YouTube
four Sunni schools of law history
Search YouTube