deen2u

deen2u — your one-stop center for Islamic resources: the Holy Quran, Hadith, practices, stories of the Prophets, Q&A, and how to practice Islam.

The four imams · three of 4

Muḥammad ibn Idrīs al-Shāfiʿī

He wrote on bones and potsherds because he could not afford paper, was taken across the desert in chains at about thirty-five on a charge that got nine other men executed, and left the largest and best-documented body of writing of the four — which is also the body of writing that has been most fiercely argued over.

How these pages are sourced. The biography and the bibliography are drawn from the standard reference literature — the classical biographical dictionaries (al-Khaṭīb al-Baghdādī's Taʾrīkh Baghdād, al-Dhahabī's Siyar Aʿlām an-Nubalāʾ, Ibn Khallikān, al-Qāḍī ʿIyāḍ's Tartīb al-Madārik, Ibn Abī Yaʿlā's Ṭabaqāt al-Ḥanābila), the bibliographical surveys (Ibn an-Nadīm's al-Fihrist, Ḥājjī Khalīfa's Kashf aẓ-Ẓunūn, Brockelmann's GAL, Sezgin's GAS), and modern scholarship in Islamic studies, including the Encyclopaedia of Islam. Each entry in the catalogue names the sources it rests on. Where the sources disagree, this page says they disagree and gives each position rather than picking one quietly; where something is not known, it says so. No ḥadīth is cited by number anywhere in this section. The numbering of a collection varies between editions, and a citation that cannot be checked is worse than none — the hadith themselves are in the hadith library, by number, where they can be read.

The name

Name
Abū ʿAbd Allāh Muḥammad ibn Idrīs ibn al-ʿAbbās ibn ʿUthmān ibn Shāfiʿ ibn al-Sāʾib ibn ʿUbayd ibn ʿAbd Yazīd ibn Hāshim ibn al-Muṭṭalib ibn ʿAbd Manāf محمد بن إدريس الشافعي. The chain is confirmed link for link in al-Bayhaqī's Manāqib and in Ibn ʿAsākir.
The Prophet's ﷺ line
They meet at ʿAbd Manāf ibn Quṣayy — the Prophet's ﷺ great-great-grandfather and al-Shāfiʿī's ninth-generation ancestor. ʿAbd Manāf had two sons who matter here: Hāshim, from whom the Prophet ﷺ descends, and al-Muṭṭalib, from whom al-Shāfiʿī does. Melchert puts the relation in one phrase: "a third cousin, six times removed, to the Prophet." He is not a descendant of the Prophet ﷺ.
The trap in the chain
There is a second Hāshim in his line — Hāshim ibn al-Muṭṭalib, a grandson of ʿAbd Manāf and a nephew of the Prophet's ﷺ ancestor, who happens to bear his uncle's name. A reader who sees "…ibn Hāshim" and stops will conclude Banū Hāshim and Prophetic descent. That is also why the nisba al-Hāshimī is legitimately applied to him — in that sense only. And note: the al-ʿAbbās in his chain is his own grandfather, not the Prophet's ﷺ uncle.
Nisbas
al-Shāfiʿī after his ancestor Shāfiʿ ibn al-Sāʾib, who is said to have met the Prophet ﷺ as a boy. al-Muṭṭalibī, al-Qurashī, al-Ḥijāzī. al-Ghazzī, which one might expect from the birthplace, could not be found applied to him in any source.
Born
150 AH / 767 CE — effectively unanimous, and reported in his own words. Place is disputed: Gaza is the majority and the self-report ("I was born in Gaza in the year 150, and was carried to Mecca when I was two"); ʿAsqalān is attested, and Melchert prefers it; Yemen is attested and al-Dhahabī calls it an error; Minā is recorded by the Encyclopaedia of Islam as rarely mentioned.
The Abū Ḥanīfa coincidence
He was born the year Abū Ḥanīfa died, and the year works: AH 150 ran from about February 767 to January 768, and Abū Ḥanīfa's most-reported death falls in August 767. The same-day version does not. The Encyclopaedia of Islam traces it to a tenth-century source and calls it often disputed; Ibn Kathīr says of it, "this scarcely holds up; establishing it is extremely difficult."
Died
The last night of Rajab 204 AH, at Fusṭāṭ, aged 54 lunar years. Converted, that is 19–20 January 820 CE; the reports say "the last night" and Rajab may have had 29 or 30 days, so the range is the honest form.
Buried
The following Friday, in al-Qarāfa al-Ṣughrā, in the tomb of the Banū ʿAbd al-Ḥakam, his Egyptian patrons, at the foot of the Muqaṭṭam. Ṣalāḥ al-Dīn built a Shāfiʿī college beside the grave in 572/1176 — the first state-sponsored one in Egypt; the teak cenotaph was carved in 574/1178–9 by ʿUbayd al-Najjār; and al-Malik al-Kāmil raised the domed mausoleum in 608/1211–12, the largest free-standing tomb in Egypt.

The clan relation is not merely genealogical. A report of Jubayr b. Muṭʿim in the collections has the Prophet ﷺ say that Banū Hāshim and Banū al-Muṭṭalib are one thing, interlacing his fingers, because the two clans had entered the ravine together during the boycott while their other ʿAbd-Manāf cousins had not. The consequence for al-Shāfiʿī personally is sharp. In his school the share of the khums reserved for the Prophet's ﷺ kin belongs to both clans — so he is inside the entitled class — and correspondingly zakāt is forbidden to Banū al-Muṭṭalib as well as Banū Hāshim, where Mālik, Abū Ḥanīfa and the majority restrict the prohibition to Banū Hāshim. On his own school's rule he could not receive zakāt, which is worth holding beside the reports of his childhood poverty.

His mother is disputed, and both positions sit pages apart in al-Bayhaqī's own book. One report, from a descendant through al-Shāfiʿī's own daughter — family testimony — says simply that she was Azdī, Yemeni; she is usually named Fāṭima bint ʿAbd Allāh al-Azdiyya. The other makes her Fāṭima, a descendant of al-Ḥusayn ibn ʿAlī, and comes attached to a boast: "I know of no Hāshimī whose mother was also Hāshimī except ʿAlī ibn Abī Ṭālib, then al-Shāfiʿī." That report is transmitted in two mutually inconsistent forms, which is a red flag, and Fakhr al-Dīn al-Rāzī judged it anomalous while al-Subkī retained it. Chaumont, in the Encyclopaedia of Islam, nevertheless thinks it "merits consideration for the extent to which it could partially account for the attitude of al-Shāfiʿī at the time of his miḥna" — which is a reason to keep it on the page rather than resolve it.

Bones, potsherds, and the desert

His father Idrīs died when he was an infant — where and how is not securely attested — and his mother took him to Makka at two. The poverty is his own first-person report and it is early: "When I left the school I used to pick up potsherds, parchment scraps, palm-stalks and camels' shoulder-blades and write hadith on them; and I would go to the government offices and beg the backs of their sheets… until my mother had two large jars which I filled with shoulder-blades, potsherds and palm-stalks full of hadith." And, later: "None has prospered in knowledge except one who sought it in poverty — I used to find the price of paper hard to come by."

He is said to have memorised the Qurʾān at seven and the Muwaṭṭaʾ at ten. The figure of nine days for memorising the Muwaṭṭaʾ could not be verified: al-Bayhaqī's text says only "in a few days," and Ibn Abī Ḥātim has him say he had memorised it before he arrived.

Then the desert, and here the substance and the quantification part company. What al-Bayhaqī actually preserves, from al-Rabīʿ from al-Shāfiʿī, is: "I went out from Mecca and attached myself to Hudhayl in the desert, learning their speech and adopting their idiom — they were the most eloquent of the Arabs — and I stayed with them a period, travelling when they travelled and camping when they camped. When I returned to Mecca I began to recite poems and recount the battle-days of the Arabs." The earliest wording gives no number of years. The seventeen-year figure that circulates could not be found in any classical source, is absent from the Encyclopaedia of Islam, from Khadduri and from Abū Zahra — and is chronologically impossible, since he reached Mālik at thirteen or fourteen and Mālik died when he was twenty-nine.

That he really did master Hudhalī poetry is another matter, and it is vouched for by the literary authorities rather than the pious ones. Al-Aṣmaʿī: "I corrected the poems of Hudhayl with a young man of Quraysh at Mecca called Muḥammad b. Idrīs." Al-Zubayr b. Bakkār: his uncle Muṣʿab took the poems, the battles and the days of Hudhayl from "a youth of Quraysh whose like in eloquence I never saw." And Muṣʿab himself preserves the line that gives the whole thing away: al-Shāfiʿī recited the poems to him from memory, then said, "Do not tell the hadith-scholars this, for they will not tolerate it."

Taken in chains to Raqqa

He held an administrative post in the Yemen, at or including Najrān, obtained through family patronage — his mother pawned a house to equip him — and by his own account he made enemies by refusing to be flattered: "the governor, when he came to them, they would flatter; and they wanted the same of me and found nothing in me for it."

The denunciation is preserved in his own words, and the name in it is not the one usually printed. "There was there one of Hārūn's commanders called Ḥammād al-Barbarī, and he wrote to him warning him about the ʿAlids and mentioning me, saying: with him is a man called Muḥammad b. Idrīs who does with his tongue what a fighter cannot do with his sword — if you have any need in the Ḥijāz, carry them off from it." A second, independent line, through al-Buwayṭī, repeats it in flatly administrative terms: "if you have any need with us, beware of Muḥammad b. Idrīs al-Shāfiʿī, for he has got the upper hand over what is in my charge." The hostile governor named "Muṭarrif b. Māzin" in much English writing could not be verified in any source consulted.

He was taken across the desert to al-Raqqa — not left even to trim his hair and nails, one report says — and brought before Hārūn al-Rashīd. His own account of the night is grim and specific: they were brought in ten at a time, most of the night gone, each man stood up one by one, the caliph speaking from behind a curtain and ordering necks struck, "until it came to me." He asked to speak, and made an argument about kinship: "you are the sons of al-ʿAbbās, they are the sons of ʿAlī, and we are the Banū al-Muṭṭalib; you see us as your brothers, they see us as their slaves."

How he got out is where the sources split, and the split is doctrinally motivated. One tradition credits the strength of his own argument. The other credits Muḥammad al-Shaybānī, who testified that he was a known student of the law and that the charge was not his affair — and al-Bayhaqī places that intercession after he had been thrown into prison. Chaumont treats the intercession as historical and labels the self-rescue the hagiographic version, and the structural argument is on his side: al-Shaybānī was the qāḍī of al-Raqqa in exactly those years. Madelung, writing the entry on the ʿAlid Yaḥyā ibn ʿAbd Allāh with no interest in Shāfiʿī apologetics, records that al-Rashīd convened scholars to invalidate Yaḥyā's safe-conduct and that al-Shaybānī declared it valid and inviolable — for which the caliph hit him on the head with an inkstand.

Chaumont does not treat the charge as a pretext. He accepts that al-Shāfiʿī "compromised himself by joining the partisans of the Ḥasanid Yaḥyā b. ʿAbd Allāh," and Madelung, independently, dates al-Shāfiʿī's study with Yaḥyā to about 174/790 and calls him one of his supporters.

Where the sources disagree

The year. 184 is the Arabic default and coincides with the denunciation of Yaḥyā; Khadduri gives 187, which coincides with Yaḥyā's death in prison and the fall of the Barmakids. The Encyclopaedia of Islam refuses to choose: "at some point in the decade following 180." Chaumont's standing caveat applies to everything on this page — "all dates given here, with the exception of that of the death of al-Shāfiʿī, are hypothetical."

Nine co-defendants executed is the standard figure and is probably a hardening. Al-Shāfiʿī's own report has men brought in ten at a time, which reads earlier and more circumstantial and would generate a tidy nine-plus-one by itself.

Egypt, and two doctrines

He left Iraq in 198/814 and settled at Fusṭāṭ, teaching in the mosque of ʿAmr. Chaumont's explanation for the move is worth preferring to the pious ones: "it seems probable that it was in fact the isolation imposed on him, in the Ḥijāz, by the predominance of the disciples of Mālik and, in Baghdad, by that of the disciples of al-Shaybānī, which persuaded him to attempt the foundation of a school elsewhere." There is also a source-based alternative in al-Bayhaqī: offered a judgeship, he said he had no need of it and asked instead to be given the kinsmen's share of the khums in Egypt and to go there, and the caliph wrote for him.

Egypt did not welcome him for long. The Mālikī Banū ʿAbd al-Ḥakam received him at first, apparently as one of Mālik's students; Muḥammad b. ʿAbd Allāh b. ʿAbd al-Ḥakam was among his most fervent disciples before writing a refutation of him and returning to the Mālikīs. Chaumont's summary is blunt: the Egyptian Mālikīs "sought without success to have him banished by the authorities. The life of al-Shāfiʿī was clearly that of an undesirable." Al-Bayhaqī preserves Ashhab praying in prostration, "O God, kill al-Shāfiʿī, for if You spare him Mālik's school will be effaced," and al-Kindī preserves a judge shouting after him in the street that he had entered a town whose affair was one and split it.

It is in those six years that the distinction the school runs on was made. The doctrine developed before Egypt is the qadīm, the old; what he taught in Fusṭāṭ is the jadīd, the new; and the school retained only the new. The old survives through two Baghdadis, al-Zaʿfarānī and al-Karābīsī, the first reckoned the more reliable; the new through al-Rabīʿ, al-Buwayṭī and al-Muzanī. The default rule is that the new prevails. The number of exceptions is often printed as seventeen; that figure could not be traced. Al-Nawawī's own wording is "about twenty or more," and SeekersGuidance notes that the number is itself disputed and has been put lower.

Where the sources disagree

How he died. The Encyclopaedia of Islam leaves it open: "according to some, he died as a result of a violent assault at the hands of a fanatical Mālikī, while others speak of sickness." The assault story names Fityān, a Mālikī whom the governor had punished for abusing al-Shāfiʿī, whose followers then attacked him after a lecture. But in the earliest attestation Fityān is not the killer at all — al-Bayhaqī has him as the man whose slanders drove al-Shāfiʿī to write against Mālik. The beating appears later, in Ibn Ḥajar's Tawālī al-taʾsīs, and Ibn Ḥajar himself casts doubt on it as not resting on a sound transmission. The detail about a key or a lock shattering his skull could not be found in any source; Ibn Ḥajar's word is cudgels.

Against that stands the illness account, which is earlier, more intimate and much less edifying. Al-Muzanī, who was there: "I came in one day to al-Shāfiʿī while he was composing a book… and he used to be tormented by haemorrhoids." Al-Rabīʿ: in four years he dictated fifteen hundred leaves and produced al-Umm, "and he was chronically and severely ill, and sometimes the blood would come out of him while he was riding until his trousers and boot were full." That comes from the two disciples who were with him daily, is embedded in physically specific detail, and appears in a book whose whole purpose is to praise him — which is exactly why it carries weight. Khadduri leans to a combination. The weight of early testimony favours the illness.

Three men in Fusṭāṭ

The corpus survives because of three Egyptians, and they were not interchangeable.

Al-Rabīʿ b. Sulaymān al-Murādī (d. 270/884) is the one al-Shāfiʿī called "the transmitter of my books," and nearly two hundred scholars travelled to him for them. He was reputedly slow to grasp the law, which may be why he wrote so carefully; his own abridgement failed against al-Muzanī's. Al-Buwayṭī (d. 231/846) he called "my tongue" and is said to have named his successor; he was arrested in the inquisition over the createdness of the Qurʾān, taken to Baghdad, and died in chains. Al-Muzanī (d. 264/878) he called "the one who makes my doctrine triumph," and his Mukhtaṣar became the base text of the school — though al-Rāfiʿī later faulted him for departing from his teacher so often that his singular positions fall outside the school.

And Aḥmad ibn Ḥanbal, in Baghdad after 195. The relationship is treated at length on the next page, because what it actually was is one of the more instructive disputes in this whole section — and because the Encyclopaedia of Islam notes, drily, that "despite the abundance in the biographies of anecdotes linking the two, it does not seem that they were well acquainted."

His books

His corpus is the largest of the four and the best documented, and it has been contested harder than any of the others — twice, sixty years apart, and from opposite directions.

In 1934 the Egyptian scholar Zakī Mubārak published a book in Cairo whose title translates as "Correcting the ugliest error in the history of Islamic legislation: Kitāb al-Umm was not written by al-Shāfiʿī." His arguments were that the book has no preface, that its chapters do not proceed on a single pattern, that it contains dialogue, that al-Rabīʿ glosses it, that it carries internal cross-references, and that it contains a will dated Shaʿbān 203 when al-Shāfiʿī died in 204. Aḥmad Shākir and Aḥmad Ṣaqr answered him.

In 1993 Norman Calder arrived at strikingly similar conclusions by a different route, dating al-Umm to the end of the third century and the Risāla to around the year 300 — a century after al-Shāfiʿī's death. Ahmed El Shamsy answered in 2012 from the external evidence, and the answer is largely bibliographical: accurate third-century quotations, contents-lists, and abridgements by named students who died in 231 and 264. The specific late datings have essentially no defenders now. The general insight that early legal texts passed through school redaction and are not autographs is widely retained, and Melchert remains sceptical of the optimistic reading in either direction.

What the catalogue below tries to do is show why the optimistic reading is reasonable: the corpus carries a differentiated transmission apparatus that distinguishes what al-Rabīʿ heard from what he copied, and marks his own additions. Whoever assembled it was not smoothing anything over.

20
works catalogued here
9
from his own hand or dictation
8
reach us through students
3
attribution doubted or rejected

al-Risāla

الرسالة

"The Epistle" — the oldest surviving work on how a ruling is derived, and the book everything later in the subject argues with.

His own bookLegal theory
Whose book
His, and written twice. He composed a first version in Iraq, at the request — so the tradition says — of the Basran traditionist ʿAbd al-Raḥmān b. Mahdī; that text is lost. The version we have was written in Egypt and reflects his final positions. Al-Bayhaqī's own inventory of his works lists al-Risāla al-qadīma and al-Risāla al-jadīda as two separate items, which is early and explicit confirmation that the school knew of two.
How it reaches us
Through al-Rabīʿ b. Sulaymān al-Murādī (d. 270/884), universally.
Does it survive
Extant. The manuscript is its own story. A Cairo codex carried a licence in al-Rabīʿ's name dated Dhū al-Qaʿda 265 AH, and Sezgin dated it to about 200 AH — near al-Shāfiʿī's own lifetime, and 16 of its 78 folios later than the rest. Aḥmad Muḥammad Shākir's 1940 edition rests on it. That dating is contested: Muḥammad Ḥājj ʿĪsā argues the codex is not in al-Rabīʿ's hand, that its earliest reading-note is dated 394 AH, that the 265 colophon was copied mechanically by a later scribe, and — the sharpest point — that the manuscript garbles a Qurʾānic citation in a way inexplicable in a genuine autograph. The codex itself was found stolen from Dār al-Kutub in 2002 and has not been recovered.
Used for
Translated by Majid Khadduri (1961) and, better, by Joseph Lowry as The Epistle on Legal Theory (Library of Arabic Literature, 2013) — Khadduri reordered the text to make it look like a classical uṣūl manual, and Lowry left it alone. What the book is is itself disputed. The old reading takes it as a primitive textbook of the four sources; Lowry has shown that reading to be an anachronism. And on whether al-Shāfiʿī founded the discipline at all, Wael Hallaq argued in 1993 that his foundational status was constructed retrospectively; E. Chaumont in the Encyclopaedia of Islam concedes Hallaq's premise — that the Risāla "remained a dead letter for more than a century" — and rejects the inference.
Sources — Chaumont, EI², "al-Shāfiʿī", IX, 181–85 · Lowry, Early Islamic Legal Theory (Brill, 2007) · Hallaq, IJMES 25/4 (1993), 587–605 · Vishanoff, "A Reader's Guide to al-Shāfiʿī's Epistle" · Sezgin, GAS I (Ar. tr.), 190

al-Risāla al-Qadīma

الرسالة القديمة

The first Risāla, written in Iraq.

Known only as a titleLegal theory
Whose book
His, and gone. Al-Bayhaqī lists it separately from the Egyptian version, so its existence is not in doubt; its contents are, since it survives only in scattered quotation.
How it reaches us
Not established; al-Zaʿfarānī is the usual candidate.
Does it survive
Lost. Sources disagree even on where it was written — the Encyclopaedia of Islam says Iraq, some Arabic accounts say Mecca, and since Ibn Mahdī wrote from Iraq the reply could have gone out from either.
Used for
Reconstructed piecemeal by scholars working on the difference between his old and new doctrine.
Sources — Chaumont, EI², "al-Shāfiʿī" · al-Bayhaqī, Manāqib al-Shāfiʿī 1/246ff.

al-Umm

الأم

The great compendium of his Egyptian teaching — around a hundred and forty separate books bound together.

Dictated by himFiqh
Whose book
His dictations; not his title, and not his arrangement. The text runs on a formula — akhbaranā al-Rabīʿ, qāla akhbaranā al-Shāfiʿī — and the formula is differentiated, which is the strongest single argument for its integrity: where al-Rabīʿ did not hear a book from al-Shāfiʿī but copied it from his autograph, he says so. Kitāb al-Waṣāyā opens "we wrote this book from al-Shāfiʿī's copy in his own hand; we did not hear it from him." Al-Rabīʿ also interjects in his own voice, sixteen times in the eight-part text, marked qāla al-Rabīʿ. Whoever assembled this was not smoothing anything over.
How it reaches us
Al-Rabīʿ b. Sulaymān al-Murādī's recension, which the jurists preferred; al-Zaʿfarānī transmitted a rival Baghdadi recension in the same arrangement, which they did not use.
Does it survive
Extant. The oldest dated manuscript is Chester Beatty Ar. 3230, 735/1334 — five centuries after al-Rabīʿ. Printed at Bulaq 1321–25 AH; the fullest modern edition is Rifʿat Fawzī ʿAbd al-Muṭṭalib's (Dār al-Wafāʾ, 2001, 11 vols). No complete English translation is known.
Used for
The title is not his. Ibn al-Nadīm, writing about 377/987, has no Kitāb al-Umm at all: he calls the corpus al-Mabsūṭ, and so does al-Rabīʿ. Sezgin's verdict is that the name "goes back to the generation after him." Whether it originated with al-Rabīʿ, with al-Buwayṭī or with a later hand cannot be settled. And the authorship has been contested twice, sixty years apart. Zakī Mubārak published a book in Cairo in 1934 arguing that al-Buwayṭī compiled it and al-Rabīʿ interfered with it; Norman Calder argued in 1993 that the text is a school product of the late third century. Ahmed El Shamsy's 2012 study answers Calder from the external evidence — accurate third-century quotations, contents-lists, and abridgements by students who died in 231 and 264. Christopher Melchert remains sceptical of the optimistic reading, in his own words: "his optimism strikes me as nonfalsifiable, while my scepticism may well strike him the same way."
Sources — Ibn al-Nadīm, al-Fihrist, ed. Ramaḍān, 246–48 · al-Bayhaqī, Manāqib al-Shāfiʿī 1/246–54 · Sezgin, GAS I (Ar. tr.), 184–85 · Calder, Studies in Early Muslim Jurisprudence, ch. 4 · El Shamsy, JAOS 132/2 (2012), 199–220 · Melchert, Studia Islamica 114/3 (2020), 249–64

Kitāb al-Ḥujja

كتاب الحجة

The compendium of his old doctrine.

Known only as a titleFiqh
Whose book
His Iraqi teaching, "probably a compilation" in the Encyclopaedia of Islam's phrase, transmitted by al-Ḥasan al-Zaʿfarānī (d. 260/874), whom the school reckoned the more reliable of the two men who carried the old doctrine.
How it reaches us
Al-Zaʿfarānī, and to a lesser degree al-Karābīsī (d. 245 or 248), a copy of whose transmission still existed in the fourteenth century.
Does it survive
Lost.
Used for
Known only through quotation. Its loss is why the qadīm can only be reconstructed, and why the school's rule that the jadīd prevails has practical force: you cannot easily consult what you are being told to set aside.
Sources — Chaumont, EI², "al-Shāfiʿī" and "al-Shāfiʿiyya", IX, 184, 186

Ikhtilāf al-Ḥadīth

اختلاف الحديث

What to do when two sound reports appear to contradict each other.

Dictated by himHadith criticism
Whose book
Genuine, and among the best-attested pieces of the corpus. Al-Suyūṭī records him as the first to write in the genre. It is transmitted by al-Rabīʿ as an integral book of al-Umm, listed by Ibn al-Nadīm, and — the decisive check — Musnad al-Shāfiʿī contains a corresponding section of fifty-three reports that tracks the order of the Umm's text.
How it reaches us
Al-Rabīʿ.
Does it survive
Extant; 359 reports across some seventy-nine chapters. Printed within al-Umm and separately, ed. ʿĀmir Aḥmad Ḥaydar (Beirut, 1985).
Used for
The foundational text of mukhtalif al-ḥadīth, and still the standard account of the sequence a scholar follows: harmonise if you can, then abrogation, then preference.
Sources — Melchert, Studia Islamica 114/3 (2020), 7 · Sezgin, GAS I · Ibn al-Nadīm, al-Fihrist

Kitāb Jimāʿ al-ʿIlm

كتاب جماع العلم

An argument, in question and answer, with someone who will not accept a report carried by a single chain.

Dictated by himLegal theory · polemic
Whose book
Genuine, transmitted by al-Rabīʿ within al-Umm. Chaumont singles it out, with Ibṭāl al-Istiḥsān, as one of the two texts of al-Shāfiʿī's legal theory besides the Risāla that "have yet to receive the attention that they deserve." A caveat worth carrying: it does not appear under that exact title in Ibn al-Nadīm's list.
How it reaches us
Al-Rabīʿ.
Does it survive
Extant, in al-Umm VII, 250–262; separately ed. Aḥmad Muḥammad Shākir (Cairo, 1940).
Used for
One of the bases of modern reconstructions of his hermeneutics.
Sources — Chaumont, EI², "al-Shāfiʿī" · Melchert, Studia Islamica 114/3 (2020), 11

Kitāb Ibṭāl al-Istiḥsān

كتاب إبطال الاستحسان

Against juristic preference — any ruling not grounded in text, consensus or analogy.

Dictated by himLegal theory · polemic
Whose book
Genuine; it is the last title in Ibn al-Nadīm's list of his books, and is transmitted by al-Rabīʿ in al-Umm. Al-Ghazālī attributes to him the maxim man istaḥsana fa-qad sharaʿa — whoever practises istiḥsān has legislated.
How it reaches us
Al-Rabīʿ.
Does it survive
Extant, in al-Umm VII, 267–277. Joseph Lowry notes that the boundaries between this treatise and al-Ḥukm bi'l-Ẓāhir are not perfectly stable across the early lists.
Used for
The text usually cited for the Shāfiʿī rejection of istiḥsān, and one of the clearest surviving records of what the Iraqis were actually being accused of.
Sources — Chaumont, EI², "al-Shāfiʿī" · Lowry, "A preliminary study of al-Shāfiʿī's Ibṭāl al-istiḥsān" (2013)

Kitāb Siyar al-Awzāʿī

كتاب سير الأوزاعي

Three jurists in one book: al-Awzāʿī's positions, Abū Yūsuf's refutation of them, and al-Shāfiʿī judging between the two.

Dictated by himLaw of war · polemic
Whose book
A layered text. Al-Awzāʿī (d. 157/774) is quoted; Abū Yūsuf's refutation is the base; al-Shāfiʿī's own comments are laid over both. Melchert's observation is what makes the book important: "I am unaware that the base text of Siyar al-Awzāʿī, apparently the compilation of Abū Yūsuf, survives independently." Al-Shāfiʿī's book is the vehicle by which Abū Yūsuf's refutation of the Syrians reaches us at all.
How it reaches us
Al-Rabīʿ.
Does it survive
Extant, in al-Umm VII, 303–336; also printed separately as Abū Yūsuf's, ed. Abū al-Wafāʾ al-Afghānī (Cairo, 1357 AH).
Used for
One of the most valuable texts in the whole corpus for the legal history of the second century — three schools arguing in one place before any of them was a school.
Sources — Melchert, Studia Islamica 114/3 (2020), 12 and n. 28 · Sezgin, GAS I (Ar. tr.), 185–86

Ikhtilāf Mālik wa'l-Shāfiʿī

اختلاف مالك والشافعي

The student taking his teacher's doctrine apart, in public.

Dictated by himComparative fiqh
Whose book
Genuine in substance; the Encyclopaedia of Islam holds that "in the form in which it has survived" the book is al-Rabīʿ's work — "a book for which the Mālikīs, of Egypt especially, were not to forgive him." It is also the best-corroborated tract of them all: the corresponding section of Musnad al-Shāfiʿī carries 136 reports, of which all but one are in the Umm's version and all but two stand in exactly the same order, drawn from the beginning to the end of the book.
How it reaches us
Al-Rabīʿ.
Does it survive
Extant, in al-Umm VII, 177–249; 398 reports.
Used for
The classic statement of the case against ʿamal ahl al-Madīna as a source of law. It preserves al-Shāfiʿī's remark that no one was more given to disagreeing with the people of Madīna than Mālik.
Sources — Chaumont, EI², "al-Shāfiʿī" · Melchert, Studia Islamica 114/3 (2020), 8 · Brunschvig, "Polémiques médiévales autour du rite de Mālik"

al-Radd ʿalā Muḥammad b. al-Ḥasan

الرد على محمد بن الحسن

The refutation of the man who had taught him Iraqi law — and, on one account, saved his life.

Dictated by himComparative fiqh · polemic
Whose book
Genuine, listed by Ibn al-Nadīm. Like Siyar al-Awzāʿī it is a layered text, interpolating al-Shāfiʿī's comments into what its editor takes to be part of the otherwise lost second half of al-Shaybānī's Kitāb al-Ḥujja ʿalā ahl al-Madīna. The Encyclopaedia of Islam notes he wrote it "while retaining immense admiration for him."
How it reaches us
Al-Rabīʿ. Al-Muzanī knew it as Kitāb al-Imlāʾ ʿalā Muḥammad b. al-Ḥasan.
Does it survive
Extant, in al-Umm VII, 277–303.
Used for
Read alongside the Ḥanafī texts it answers, and as evidence of how he worked: he reportedly bought al-Shaybānī's books for sixty dinars, studied them for a year, and then wrote against them.
Sources — Chaumont, EI², "al-Shāfiʿī" and "al-Shaybānī" · al-Bayhaqī, Manāqib 1/162 · Melchert, Studia Islamica 114/3 (2020), n. 28

Kitāb al-Sabq wa'l-Ramy

كتاب السبق والرمي

On racing and archery — a small book, and a real one.

Dictated by himFiqh
Whose book
Al-Muzanī says al-Shāfiʿī dictated it to him personally, and used to call him "al-Qaṭāmī the archer" — the sort of first-hand, slightly irritable detail that is hard to invent. The title is in Ibn al-Nadīm's list.
How it reaches us
Al-Muzanī.
Does it survive
An extract survives in al-Umm IV, 149–155; a manuscript of the whole is recorded by Sezgin.
Used for
Little read, but worth listing: the archery stories in his biography, which are otherwise pure hagiography, turn out to have a mundane residue in an actual book.
Sources — Chaumont, EI², "al-Shāfiʿī", citing Sezgin, GAS I, 490 · al-Bayhaqī, Manāqib 2/128, 2/272

Musnad al-Shāfiʿī

مسند الشافعي

The hadith of al-Umm, pulled out and bound separately — in Nishapur, a century and a half after his death.

Assembled long afterHadith
Whose book
Not a book al-Shāfiʿī wrote, and — strictly — not one al-Aṣamm wrote either. Al-Dhahabī: "al-Shāfiʿī did not assemble it as a separate work. Rather, Abū Jaʿfar Ibn Maṭar derived it for Abū al-ʿAbbās al-Aṣamm from what he related from al-Rabīʿ from al-Shāfiʿī from Kitāb al-Umm and other works." Al-Kattānī puts it flatly: laysa huwa min taṣnīfihi — it is not of his authorship. Ibn al-Athīr's ascription of the compiling to al-Aṣamm himself is the minority view.
How it reaches us
Al-Shāfiʿī → al-Rabīʿ → Abū al-ʿAbbās al-Aṣamm (247–346), a Nishapuran traditionist and professional copyist who lost his hearing young and went blind in 344; the extraction was made by his disciples.
Does it survive
Extant; 1,835 reports in ʿAbd al-Muṭṭalib's edition, of which over 98 per cent are also in al-Umm. Sezgin lists thirteen manuscripts — more than the basis of any edition. Avoid the twentieth-century retypings of the Bulaq text.
Used for
A correction worth making: despite the title, it is not arranged by Companion. Its sections are headed "and from the book of…" and track the chapters of al-Umm. Melchert's verdict is that it is a genuine alternative recension of al-Rabīʿ's dictation, and therefore evidence for the state of al-Umm as al-Rabīʿ had fixed it by the 260s — not for the state al-Shāfiʿī left it in.
Sources — Melchert, "The Musnad of al-Shāfiʿī", Studia Islamica 114/3 (2020), 249–64 · al-Dhahabī, Tārīkh al-Islām 25/367 · Ibn Ḥajar, Taʿjīl al-Manfaʿa 1:238–9 · Sezgin, GAS I, 488

al-Sunan al-Maʾthūra

السنن المأثورة

A second, independent line of his dictation — collected by a Ḥanafī.

Assembled long afterHadith
Whose book
Collected by Abū Jaʿfar al-Ṭaḥāwī (d. 321/933) — the great Ḥanafī — from his maternal uncle al-Muzanī, who was al-Shāfiʿī's student. Just under seven hundred reports, of which all but fifteen he heard from al-Muzanī.
How it reaches us
Al-Shāfiʿī → al-Muzanī (d. 264/877) → al-Ṭaḥāwī.
Does it survive
Extant. Ed. ʿAbd al-Muʿṭī Amīn Qalʿajī (Dār al-Maʿrifa, 1406/1986); a textually superior edition by Khalīl Ibrāhīm Mullā Khāṭir (Jedda, 1409/1989).
Used for
The single best external control on al-Umm. Fewer than half its reports are paralleled there — a genuinely independent line — and, as Melchert notes, some of the reports in the Musnad that are missing from al-Umm turn up here, which confirms that both go back to al-Shāfiʿī's dictation while small discrepancies show al-Rabīʿ and al-Muzanī were working from different notes.
Sources — Melchert, Studia Islamica 114/3 (2020), 17 and n. 39

Aḥkām al-Qurʾān

أحكام القرآن

The book on the legal verses that carries his name on the title page and was assembled two and a half centuries after he died.

Assembled long afterQurʾānic law
Whose book
Al-Bayhaqī's (d. 458/1066). Chaumont, in the Encyclopaedia of Islam: it "is not the one, now lost, composed by al-Shāfiʿī himself. It is in fact a work of compilation undertaken by the great Shāfiʿī al-Bayhaqī on the basis of different texts of al-Shāfiʿī." Melchert agrees. The complication should not be smoothed over: Ibn al-Nadīm's list does include a Kitāb Aḥkām al-Qurʾān by al-Shāfiʿī, and the Risāla refers to one. That book is lost; this one is on the shelf.
How it reaches us
Al-Bayhaqī gathering from al-Shāfiʿī's scattered statements, mostly from al-Umm.
Does it survive
Extant. Ed. with a foreword by Muḥammad Zāhid al-Kawtharī, Cairo, Maktabat al-Khānjī, 1370–71/1951–52, with notes by ʿAbd al-Ghanī ʿAbd al-Khāliq.
Used for
Used as a source for Shāfiʿī Qurʾānic jurisprudence. Melchert reconstructs the lost original's scope from the Musnad's corresponding section and concludes it "reviewed examples from just a few areas of the law, mostly marriage and divorce" — a much smaller book than the one now printed under the name.
Sources — Chaumont, EI², "al-Shāfiʿī" · Melchert, Studia Islamica 114/3 (2020), 9 and n. 21–22

Mukhtaṣar al-Buwayṭī

مختصر البويطي

An abridgement of the corpus by the student al-Shāfiʿī called "my tongue", who died in chains in Baghdad.

The school's book, not hisFiqh
Whose book
By Yūsuf b. Yaḥyā al-Buwayṭī (d. 231/846), whom al-Shāfiʿī is said to have named his successor. Al-ʿAbbādī describes it as "in the utmost excellence, following the arrangement of the chapters of al-Mabsūṭ."
How it reaches us
His own abridgement of his teacher's dictations.
Does it survive
Extant in manuscript — Ahmet III 1078 (868 AH) and 1079 (909 AH), Murad Molla 1189 (625 AH). Its section abridging the Risāla was edited and translated by Ahmed El Shamsy and Aron Zysow in 2012.
Used for
Load-bearing evidence. A student who died in 231/846 abridged the Risāla — which by itself makes any dating of that book to around the year 300 impossible. Al-Buwayṭī was arrested in the miḥna over the createdness of the Qurʾān, imprisoned in Baghdad, and died in detention.
Sources — Chaumont, EI², "al-Shāfiʿī" and "al-Shāfiʿiyya" · El Shamsy & Zysow, Islamic Law and Society 19/4 (2012), 327–55 · El Shamsy, "The First Shāfiʿī", ILS 14/3 (2007), 301–41 · Sezgin, GAS I, 491

Mukhtaṣar al-Muzanī

مختصر المزني

The abridgement the school actually taught from for a thousand years.

The school's book, not hisFiqh
Whose book
By Ismāʿīl b. Yaḥyā al-Muzanī (175–264 / 791–878), whom al-Shāfiʿī called "the one who makes my doctrine triumph." Ibn Surayj called it "the foundation of the books composed in the Shāfiʿī school"; al-Nawawī ranked it among the five foundational works. And it is not simply his teacher's doctrine: al-Rāfiʿī faulted al-Muzanī for departing so often that his singular positions fall outside the school, and al-Asnawī reports that he wrote a book renouncing al-Shāfiʿī's doctrine for one of his own.
How it reaches us
His own composition, from his teacher's dictations.
Does it survive
Extant; printed in the margins of the Bulaq al-Umm, parts 1–5.
Used for
The base text of the Shāfiʿī commentary tradition. Its independent value is as a control: al-Muzanī's notes and al-Rabīʿ's do not always agree, and where they differ you can see two men writing down the same lecture.
Sources — Chaumont, EI², "al-Muzanī", VII, and "al-Shāfiʿiyya", IX, 186

Dīwān al-Shāfiʿī

ديوان الشافعي

The most quoted book on this page, and there is no such book.

Attributed but not hisPoetry
Whose book
No dīwān of al-Shāfiʿī exists in any authorial sense. Nothing corresponding to a poetry collection appears in Ibn al-Nadīm's hundred-odd titles, in the Umm or Musnad recensions, or in al-Bayhaqī's inventory of a hundred and forty books. The printed collections are twentieth-century anthologies assembled out of adab and manāqib literature. Al-Bayhaqī's own chapter heading is exact: "what is attributed to him of poetry."
How it reaches us
Modern anthologists — ʿAbd al-ʿAzīz Sayyid al-Ahl (1966), Emil Badīʿ Yaʿqūb (1991) and others. The Arabic Wikisource text of the vulgate is filed under "texts of unknown source," which is a fair verdict.
Does it survive
The only genuinely critical edition is Mujāhid Muṣṭafā Bahjat, Shiʿr al-Shāfiʿī: jamʿ wa-taḥqīq wa-dirāsa (Dār al-Qalam, 1999). Its findings, as reported: about six pieces securely attributed with chains through his students; about eleven that are verse he recited, mistaken by transmitters for verse he composed — the famous tamannā rijālun an amūta is in fact by the pre-Islamic poet ʿUbayd b. al-Abraṣ; about twenty-nine rejected outright, surfacing only in late books and sometimes at odds with his own law; and a residue undetermined.
Used for
Heavily quoted on the internet and in sermons, and should not be cited as evidence of al-Shāfiʿī's views on anything. The structural error is exactly named by Jamāl bin Ḥuwayrib, summarising Bahjat: whoever gathered the dīwān "treated transmission and recitation as equivalent to composition." Many verses in it also sit in the dīwān ascribed to ʿAlī ibn Abī Ṭālib — the same floating anthology, two famous names.
Sources — Mujāhid Muṣṭafā Bahjat, Shiʿr al-Shāfiʿī (Dār al-Qalam, 1999) · al-Bayhaqī, Manāqib al-Shāfiʿī, bāb mā yunsab ilayhi min al-shiʿr · Chaumont, EI², "al-Shāfiʿī"

al-Waṣiyya

الوصية

Two different things go by this name, and only one of them is his.

Attribution disputedTestament · creed
Whose book
His actual will is preserved inside al-Umm, opening with al-Rabīʿ's dating formula — "this is a book which Muḥammad b. Idrīs al-Shāfiʿī wrote in Shaʿbān of the year 203" — and covering manumissions, provision for his son, bequests, and executors in Egypt and Mecca. It is as well attested as anything in the corpus. A separate creedal Waṣiyya circulates in theological anthologies, usually printed beside the spurious Fiqh al-Akbar; Chaumont's verdict on that one is that its authenticity "is doubtful" — doubtful rather than spurious.
How it reaches us
The will: al-Rabīʿ, who states that Kitāb al-Waṣāyā was copied from al-Shāfiʿī's autograph rather than heard from him. The creed: not established.
Does it survive
The will: extant in al-Umm. The creed: edited by Friedrich Kern in Mitteilungen des Seminars für Orientalische Sprachen XIII (1910), 141–45.
Used for
The dated will is a small but sharp piece of evidence in the authenticity debate — Zakī Mubārak used it in 1934 to argue the corpus was compiled after al-Shāfiʿī's death, and Aḥmad Ṣaqr answered that al-Rabīʿ himself says he copied that book rather than hearing it.
Sources — Chaumont, EI², "al-Shāfiʿī" · Kern, MSOS XIII (1910), 141–45 · al-Umm, Kitāb al-Waṣāyā

al-Fiqh al-Akbar fī'l-Tawḥīd

الفقه الأكبر في التوحيد

A short creed printed under his name.

Attributed but not hisCreed
Whose book
Chaumont, in the Encyclopaedia of Islam, is unequivocal: it "is clearly apocryphal." Ḥājjī Khalīfa had said much the same in the seventeenth century — "there is doubt about ascribing this book to al-Shāfiʿī; most likely it is the work of some other of the great scholars." There is no chain to al-Shāfiʿī, no mention by al-Rabīʿ, al-Muzanī, al-Buwayṭī or al-Zaʿfarānī, none by Ibn al-Nadīm, and none by Ibn Abī Ḥātim or al-Bayhaqī in their exhaustive lives of him.
How it reaches us
None.
Does it survive
Extant; Cairo, al-Maṭbaʿa al-Adabiyya, 1324/1906, 48 pp.
Used for
Note the confusion behind it. Al-Fiqh al-Akbar is famous as Abū Ḥanīfa's creed, where the attribution is itself contested; a version of it was then re-ascribed to al-Shāfiʿī, and that second ascription is weaker still. Chaumont frames the whole body of creeds attributed to al-Shāfiʿī as retrospective projection: some make him a forerunner of Ashʿarism, others of Ḥanbalism, and the debates they take positions in did not become urgent until after his death.
Sources — Chaumont, EI², "al-Shāfiʿī", IX, 184 · Ḥājjī Khalīfa, Kashf al-Ẓunūn 2:1287–88

Tafsīr al-Imām al-Shāfiʿī

تفسير الإمام الشافعي

A three-volume commentary on the Qurʾān under his name, published in 2006.

Assembled long afterTafsīr
Whose book
A modern doctoral compilation by Aḥmad b. Muṣṭafā al-Farrān (Dār al-Tadmuriyya, Riyadh, 3 vols, 1427/2006), gathering his exegetical remarks from across the corpus. Al-Shāfiʿī wrote no tafsīr.
How it reaches us
A modern editor's gathering.
Does it survive
In print.
Used for
Useful, and honestly presented by its editor — but a book of his sayings, not a book of his.
Sources — al-Farrān, Tafsīr al-Imām al-Shāfiʿī (Dār al-Tadmuriyya, 2006)

All 69 works of the four imams, side by side →

📕
Next

Aḥmad ibn Ḥanbal

His student in Baghdad — and the imam who told people not to copy out the Risāla.

🧭
Related

How Rulings Are Derived

Uṣūl al-fiqh — the discipline the Risāla is credited with founding.

🕰️
Related

Islamic History Timeline

Where the four imams sit against the caliphates and the hadith collections.