What is the Shafi'i school of law?

The El Fatwa editorial teamUpdated Sep 5, 2026

Read next

The Shafi'i school is a legal tradition built on the teaching of Muhammad ibn Idris al-Shafi'i. He wrote the first systematic study of legal method, ordering evidence from the Qur'an to analogy. It is followed today mainly in Egypt and Southeast Asia.

Why this matters in my religion

Every fatwa you hear has already traveled a path. The mufti ordered the evidence, weighed what seemed to conflict, then applied a conclusion to your case.

That path did not arrive ready-made. It lived in early scholars' practice and reasoning until al-Shafi'i gathered it into one readable book. That is why his name comes up in almost any discussion of legal method, whatever school the speaker follows.

Knowing this school gives you two things. First, it explains where fatwa vocabulary comes from: the Qur'an, then the Sunnah, then consensus, then analogy. Second, it shows a scholar revising his own conclusions in the open. Al-Shafi'i changed positions after moving cities, and did not treat that as a weakness.

The idea, simply

A madhhab is a school of legal thought, a settled way of reasoning from the Qur'an and the Sunnah to a ruling. This one carries the name of a scholar who studied under two very different teachers.

The imam and his journey

Muhammad ibn Idris al-Shafi'i, of the Prophet's ﷺ tribe of Quraysh, was born around 150 AH. Orphaned young, he grew up poor in Makkah. He memorised the Qur'an and learned classical Arabic from speakers who still used it daily.

He then traveled to Madinah and studied *al-Muwatta* directly with Malik. Later he held an administrative post in Yemen, then went to Iraq. There he debated the students of Abu Hanifa and studied under Muhammad ibn al-Hasan al-Shaybani. He settled in Egypt at the end of his life and died there in 204 AH.

That journey is the key to his method. He met the school built on hadith in Madinah and the school built on structured reasoning in Iraq. He came away combining both: loyalty to the transmitted text, held together with disciplined argument.

*Al-Risala* and what it did

*Usul al-fiqh* is the set of rules for drawing a ruling out of evidence. It orders the sources. It reads a general term against a more specific one. It says what to do when two texts appear to disagree.

*Al-Risala* was the first book to gather this subject into one place. In it, al-Shafi'i set out an order: the Qur'an and the Sunnah first, then scholarly consensus (*ijma*), then analogy (*qiyas*). He established that one sound hadith, carried by a reliable chain, counts as usable evidence on its own. He also rejected juristic preference (*istihsan*) as a standalone proof.

The old and the new

This term is what most distinguishes his school from the others. His rulings fall into two groups. The old (*al-qadim*) is what he taught while in Iraq. The new (*al-jadid*) is what he taught after he settled in Egypt.

This was not inconsistency. In Egypt he met a different custom, and new reports reached him, so he revised some positions. His school generally relies on the new position, except a small number of issues where later scholars judged the old reason stronger.

There is a lesson here wider than the details. A leading imam of the community retracting a view once its opposite becomes clear to him is not treated as a contradiction. It is treated as care finishing its work.

Students, and the books after him

His books were transmitted by al-Rabi' ibn Sulayman, and his best-known students were al-Muzani and al-Buwayti. His major work of fiqh, *al-Umm*, followed.

Later scholars kept building. Al-Shirazi wrote *al-Muhadhdhab*, and al-Ghazali wrote *al-Wajiz*. Then al-Rafi'i and al-Nawawi refined the school and weighed its positions, until followers called them "the two shaykhs". Practice today largely rests on what they preferred, and al-Nawawi's short manual, *Minhaj al-Talibin*, is still studied widely.

What this does not mean

The old and the new are not an open menu for picking whichever answer suits you. Telling them apart, and knowing the exceptions, belongs to the school's own authoritative books.

Al-Shafi'i writing down the rules of legal method does not mean earlier scholars worked without any. The principles were already active in their reasoning; he was the one who wrote them into a single book.

And ordering evidence this way is not unique to him. All four imams begin with the Qur'an and the Sunnah. What differs between them is the detail of the ordering, and the conditions each sets for using the proofs that follow.

The school at a glance

FeatureThis school
ImamMuhammad ibn Idris al-Shafi'i (150–204 AH)
Era and placeLate 2nd–early 3rd century AH; Makkah, Madinah, Iraq, then Egypt
Standard works*al-Risala* on legal method; *al-Umm* on fiqh; *Minhaj al-Talibin* by al-Nawawi for later students
Known forOrdering the evidence, the authority of a single sound hadith, the "old" and "new" positions
Followed todayEgypt, parts of the Levant, Yemen, East Africa, much of Southeast Asia, and coastal South Asia

From life

A nurse from Indonesia works abroad. She hears an answer on a point of worship that contradicts what her mother taught her as a child.

She spends days unsettled. Was her mother wrong all this time? Eventually she takes both versions to a scholar and describes them side by side.

He tells her that what she learned growing up is the accepted position across most of her home country. What she heard abroad rests on a different, recognized school. Then he tells her plainly what to do in her own situation.

She leaves with a weight lifted. Her mother was not wrong, and there was room in the matter that nobody had explained to her before.

What does this require of me?

  • Nothing here requires affiliating with a school. Ask someone you trust for learning and integrity, and act on their answer.
  • If you ask a scholar in a Shafi'i-majority country, know what stands behind the answer. A documented tradition shaped it, not a personal choice made on the spot.
  • Do not cite an "old" position of al-Shafi'i that you heard in a clip. Telling old from new, and confirming who said what, belongs to the school's own books.
  • Take a lesson from his life for yourself. If it becomes clear you were wrong about something, going back to correct it is a strength, not a weakness.
  • Do not confuse legal method with creed. *Usul al-fiqh* is the rules for reaching a ruling; the foundations of belief are a separate subject with its own terms.
  • Read about the schools to understand, not to argue. Knowing that positions differ is one thing; weighing between them is a question for people trained to do it.

When do I need to ask a scholar?

Ask when what you learned at home differs from what you hear in a new country. Ask so that you act with clarity rather than guesswork.

Ask when you hear a position attributed to al-Shafi'i or to his school and want to confirm it is accurately attributed.

Ask when a contract, an inheritance, or a marriage is being settled under a country's courts that apply this school.

And ask when your own question turns up two views and you are unsure which one applies to your situation. This library organizes, summarizes and links; it does not rule.

Related