Knowledge History & Heritage

Muhammad ibn Idris al-Shafi'i — Founder of the Shafi'i Madhhab, Author of the Risala (the First Systematic Usul al-Fiqh Text), Student of Malik ibn Anas, Teacher of Ahmad ibn Hanbal, and the Scholar Who Gave Islamic Jurisprudence Its Methodological Foundation

مُحَمَّدُ بنُ إِدرِيسَ الشَّافِعِيّ — مُؤَسِّسُ المَذهَبِ الشَّافِعِيِّ وَمُؤَلِّفُ الرِّسَالَةِ [أَوَّلُ نَصٍّ مُنهَجِيٍّ فِي أُصُولِ الفِقهِ] وَتِلمِيذُ مَالِكِ بنِ أَنَسٍ وَشَيخُ أَحمَدَ بنِ حَنبَلَ وَالعَالِمُ الَّذِي مَنَحَ الفِقهَ الإِسلَامِيَّ أَسَاسَهُ المَنهَجِيّ
2 min read · 398 words

Muhammad ibn Idris al-Shafi'i (مُحَمَّدُ بنُ إِدرِيسَ الشَّافِعِيّ; born 150 AH / 767 CE in Gaza or Mecca [sources differ]; died 204 AH / 820 CE in Egypt; Qurashi lineage — of the Banu Muttalib, making him a distant relative of the Prophet; orphaned young; memorized the Quran by age seven and Malik's Muwatta by age ten; studied under Malik ibn Anas in Medina for many years; studied also under Muhammad ibn al-Hasan al-Shaybani [Hanafi tradition] in Iraq — uniquely, al-Shafi'i mastered both the Medinan and Iraqi legal traditions; his two 'old' opinions [al-qawl al-qadim] from his Iraqi period vs his 'new' opinions [al-qawl al-jadid] from his Egyptian period: moving from Iraq to Egypt, al-Shafi'i changed some of his positions after encountering new hadith evidence — the Shafi'i madhhab follows the new opinions [jadid] unless the qadim is explicitly stronger; major works: [1] *al-Risala* [The Letter/Treatise]: written at the request of Abd al-Rahman ibn Mahdi; the first systematic text in usul al-fiqh; establishes: Quran as primary source; Sunna as its authoritative explanation [clarifying what the Quran means]; ijma' as binding when established; qiyas as the legitimate fourth source; [2] *al-Umm* [The Mother]: a massive compilation of his fiqh opinions on all areas of Islamic law, including his arguments against Malik and Abu Hanifa; significance of the Risala: before it, scholars in the Maliki and Hanafi traditions used these sources implicitly but without a common systematic methodology; al-Shafi'i created the framework within which ALL subsequent Islamic legal debate has occurred; Ahmad ibn Hanbal reportedly said: 'I used to not know how to use hadith in legal argumentation until I studied with al-Shafi'i'; his polemic against Abu Hanifa's istihsan: al-Shafi'i's *Ibtal al-Istihsan* argues that juristic preference without textual basis is not a legitimate legal source — a significant methodological critique; connection to all four schools: al-Shafi'i is the intellectual lynchpin of all four Sunni schools — he was Malik's student and Ahmad's teacher; his systematization shaped how all schools argued even when they disagreed with him) is the architect of Islamic legal methodology.

The Qurashi Orphan Who Mastered Two Traditions

Al-Shafi’i’s intellectual formation was unusual: he was trained in both the dominant legal traditions of his era — the Medinan tradition of Malik ibn Anas, with its emphasis on the living practice of the Prophet’s city, and the Iraqi tradition of Abu Hanifa’s school, with its emphasis on systematic reasoning (ra’y) and analogical extension (qiyas).

Most scholars of his era were products of one school or the other. Al-Shafi’i’s immersion in both gave him a comparative vantage point: he could see where the Medinan tradition was strong (proximity to Prophetic practice) and where it was weak (heavy reliance on local custom); he could see where the Iraqi tradition was rigorous (systematic methodology) and where it was vulnerable (istihsan without clear Quranic/Sunna grounding).

The Risala emerged from this comparative vantage point: a methodology that drew from both but was reducible to neither.


The Risala: A New Science

The Risala was written as a response to a Hadith scholar (Abd al-Rahman ibn Mahdi) who asked al-Shafi’i to explain how the Quran, Sunna, ijma’, and qiyas relate to each other. The result was the first systematic treatise on this question.

Key claims of the Risala:

Ahmad ibn Hanbal’s famous tribute to al-Shafi’i — that he learned from him how to use hadith as legal evidence — shows the Risala’s effect even on scholars who later diverged from the Shafi’i school.


The Qadim/Jadid Distinction

When al-Shafi’i moved from Iraq to Egypt, he encountered new hadith traditions and revised a number of his legal opinions. The Shafi’i school calls the earlier positions “al-qawl al-qadim” (the old opinion) and the Egyptian-period positions “al-qawl al-jadid” (the new opinion). The madhhab follows the jadid as the authoritative position.

This willingness to revise earlier opinions based on new evidence — unusual in legal history — reflects al-Shafi’i’s own methodological commitment: hadith evidence outweighs personal reasoning.

See also: Seerah Abu Yusuf Al Hanafi, Seerah Malik Ibn Anas, Seerah Ibrahim Al Nakhai, Fiqh Al Usul Al Fiqh, Fiqh Al Ijtihad Wal Taqlid

← All articles
← Previous
Fiqh al-Usul al-Fiqh — The Science of Islamic Legal Theory: The Meta-Discipline That Explains How Islamic Law Is Derived, Who Has Authority to Derive It, and the Four Classical Sources (Quran, Sunna, Ijma', Qiyas) and Their Hierarchy
Next →
Fiqh al-Shura wal-Ijma' — Consultation and Consensus in Islamic Governance: The Quranic Command to Consult (42:38), How Shura Differs from Ijma', the Debate on Whether Shura Is Binding, and the Modern Question of Islamic Democracy

More in History & Heritage

← Back to all articles