Imam Muhammad ibn Idris al-Shafi'i was born in Gaza and grew up an orphan under his mother's care; she moved with him to Mecca, where he memorized the Qur'an as a child before studying hadith and jurisprudence under the leading scholars of the Hejaz. He traveled to Medina and studied closely under Imam Malik ibn Anas, memorizing Al-Muwatta from him, then moved to Iraq where he studied under jurists of the rationalist school. In doing so he bridged two methods that had previously been distinct — the hadith-centered approach of the Hejaz and the reasoned-opinion approach of Iraq — forging a new, balanced legal method.
Al-Risala and the Founding of Legal Theory
Al-Shafi'i is credited as the founder of the discipline of usul al-fiqh (legal theory) in its systematic, documented form, authoring Al-Risala, in which he laid out the rules for deriving rulings from the Qur'an, Sunnah, consensus, and analogy — the first independent work in this field. He moved between Baghdad, Mecca, and finally settled in Egypt, where he revisited many of his earlier legal opinions in light of new circumstances, giving rise to what became known as his "new school," distinct from the "old school" he had taught in Iraq — a reflection of his intellectual flexibility and freedom from rigid attachment to his own views.
- Authored Al-Risala, the first independent work on Islamic legal theory
- Systematically reconciled the hadith-centered and reasoned-opinion schools of law
- Founded the Shafi'i school, widespread across Egypt, the Levant, East Africa, and Southeast Asia
- Revised his earlier rulings in Egypt, giving rise to his distinct "new school"
Al-Shafi'i died in Egypt in 820 CE, leaving behind an immense scholarly legacy in jurisprudence and its underlying theory; his school remains one of the four major legal traditions followed across the Islamic world today.