Knowledge History & Heritage

Seerah al-Qarafi — Shihab al-Din Ahmad ibn Idris al-Qarafi (d. 684 AH / 1285 CE): The Egyptian Maliki Master of Legal Distinctions, Qawa'id and the Anatomy of Authority

سيرة شهاب الدين القرافي — إمام المالكية المصري وصاحب الفروق وأنوار البروق
4 min read · 659 words

Shihab al-Din Abu al-'Abbas Ahmad ibn Idris al-Qarafi (c. 626-684 AH / 1228-1285 CE) was the foremost Maliki jurist and legal theorist of Mamluk Egypt, a polymath who taught at al-Azhar and the madrasas of Cairo and Qarafa whose name derives from the great southern cemetery district of the capital. Trained under masters such as the Maliki shaykh al-'Izz ibn 'Abd al-Salam's circle and influenced by Fakhr al-Din al-Razi's rationalist usul, he authored a corpus that reshaped Islamic jurisprudence: al-Furuq (Anwar al-Buruq fi Anwa' al-Furuq), the foundational treatise on legal distinctions, maxims and the subtle differences (furuq) between superficially similar cases; al-Dhakhira, a vast comprehensive compendium of Maliki fiqh; Sharh Tanqih al-Fusul on usul al-fiqh; and al-Ihkam fi Tamyiz al-Fatawa 'an al-Ahkam, where he famously distinguished the binding ruling of the judge (qada'), the non-binding opinion of the mufti (fatwa), and the discretionary policy of the imam or ruler (tasarruf bi-l-imama). He also wrote on optics, astronomy and the natural sciences, refuting and refining the burning-mirror and lens theories of his predecessors. His thought on 'urf (custom), maslaha, and the typology of authority remains a living reference for modern jurists across the schools.

Life, Milieu and Formation

Shihab al-Din Abu al-‘Abbas Ahmad ibn Idris al-Qarafi (born around 626 AH / 1228 CE, died 684 AH / 1285 CE) was the leading Maliki jurist of his generation in Ayyubid and early Mamluk Egypt. His nisba derives from al-Qarafa, the sprawling cemetery quarter on the southern flank of Cairo where his family lived, though his ethnic roots are sometimes traced to the Berber Sanhaja stock that had carried Malikism across North Africa. He studied and taught in the intellectual heart of the capital, lecturing at the mosque-college of al-Azhar and other Cairene madrasas during a period when Egypt had become the refuge of Islamic learning after the Mongol sack of Baghdad in 656 AH / 1258 CE.

Al-Qarafi was formed at the confluence of two currents. From the Maliki tradition he inherited the rich Andalusi-Maghribi jurisprudence and the towering presence of his contemporary ‘Izz al-Din ibn ‘Abd al-Salam (the Shafi’i ‘Sultan of the scholars’), whose work on the purposes of the law (maqasid) and on benefits and harms shaped al-Qarafi’s own theory of maslaha. From the rationalist theology of Fakhr al-Din al-Razi and the Ash’ari kalam tradition he absorbed a rigorous, almost mathematical method of analysis. The result was a jurist equally at home in positive law, legal theory, theology, polemic against Christian and Jewish doctrine, and the empirical natural sciences.

Major Works

Al-Qarafi’s most celebrated work is al-Furuq, formally titled Anwar al-Buruq fi Anwa’ al-Furuq (‘The Lights of Lightning-Flashes on the Categories of Distinctions’). It is a foundational treatise that catalogues hundreds of pairs of legal cases that look identical on the surface but differ in ruling, teaching jurists to discern the precise causes (‘illal) and underlying principles (qawa’id) that separate them. Interwoven with these distinctions are extended discussions of legal maxims, making al-Furuq one of the most influential contributions to the genre of qawa’id fiqhiyya across all the schools. His second great work, al-Dhakhira (‘The Treasure’), is a comprehensive multi-volume compendium of Maliki substantive law, prized for systematically presenting the school’s positions alongside their evidentiary basis.

In legal theory he wrote Sharh Tanqih al-Fusul, his own abridgement and commentary on al-Razi’s al-Mahsul, which became a standard Maliki manual of usul al-fiqh. His most institutionally consequential treatise is al-Ihkam fi Tamyiz al-Fatawa ‘an al-Ahkam wa-Tasarrufat al-Qadi wa-l-Imam, in which he drew his famous threefold typology of religious authority. Beyond law he composed works on theology and inter-religious polemic (al-Ajwiba al-Fakhira) and on the natural sciences, including investigations of optics, the camera obscura, burning mirrors, lenses and astronomical instruments, in which he engaged critically with the optical theories of Ibn al-Haytham and earlier scholars.

Lasting Significance

Al-Qarafi’s enduring contribution is his anatomy of legal authority. He distinguished three modes by which a qualified figure speaks: the fatwa of the mufti, which merely informs and binds no one; the qada’ of the judge, which resolves a specific dispute with binding force between the parties; and the tasarruf bi-l-imama, the discretionary policy-making of the ruler acting for the public welfare, which differs again in scope and revocability. This typology, refined in al-Ihkam, gave classical jurisprudence a precise vocabulary for separating advisory opinion, judicial verdict and governmental policy, and it remains a cornerstone of modern discussions of Islamic constitutional theory, the limits of ijtihad and the binding force of state legislation.

Equally lasting is his systematic treatment of custom (‘urf) and its role in shaping and changing rulings, and his sophisticated handling of maslaha within the framework of maqasid al-shari’a. Through al-Furuq he disciplined the reasoning of generations of jurists, training them to weigh near-identical cases with surgical care, while al-Dhakhira preserved and organised the Maliki heritage for posterity. Standing alongside contemporaries such as Ibn Qudama in the Hanbali school and theological luminaries like al-Ghazali before him, al-Qarafi exemplifies the maturity of post-classical Sunni legal science: at once faithful to his madhhab, methodologically rigorous, and intellectually omnivorous.

See also: Seerah Ibn Qudama, Seerah Al Ghazali, Fiqh Al Usul Al Fiqh, Fiqh Al Ijtihad Wal Taqlid, Seerah Al Qurtubi

← All articles
← Previous
Seerah al-Suhrawardi al-Maqtul — Shihab al-Din Yahya ibn Habash al-Suhrawardi (1154-1191 CE): Founder of the Illuminationist Philosophy of Light (Hikmat al-Ishraq)
Next →
Seerah Ibn Qudama — Muwaffaq al-Din Abu Muhammad Abd Allah ibn Ahmad ibn Qudama al-Maqdisi (1147-1223 CE): The Hanbali Master of Damascus and Author of al-Mughni

More in History & Heritage

Sayyidna Muhammad (SAW) — Khatam al-Anbiya: The Seal of Prophets and the Foundation of the Bohra World

Sayyidna Muhammad ibn Abdullah ibn Abd al-Muttalib (SAW) — born c. 570 CE in Mecca, departed 632 CE in Medina — is the Seal of the Prophets, the Messenger of Allah to all humanity, the bearer of the final and complete divine revelation (the Quran), the one who established salah, commanded justice, built the community of Islam, and at Ghadir Khumm designated Imam Ali ibn Abi Talib (AS) as his rightful successor. For the Bohra community, every prayer, every salawat, every misaq, every act of walayat traces its authority back to this one man and to the divine trust placed in him. He is Rahmatan li'l-'alamin — a mercy to all the worlds (Quran 21:107). He is the sixth and final Natiq in the Ismaili cycle of prophethood, whose da'wa chain runs through the Imams of his Ahl al-Bayt, through the hidden Imam al-Tayyib (AS), and through the Duat Mutlaqeen to Syedna Mufaddal Saifuddin (TUS), the 53rd Dai al-Mutlaq.

Sayyidna Ibrahim al-Khalil (AS) — The Friend of Allah

Sayyidna Ibrahim ibn Azar (AS) — the Prophet Abraham — is the father of monotheism, the builder of the Ka'ba with his son Ismail (AS), and the ancestor through whom both the Prophet Muhammad (SAW) via the Ishmaelite line and a vast number of Prophets via the Israelite line descend. He is called Khalilullah (the Friend of Allah) and his trials are among the greatest in prophetic history. Hajj itself was established by him and restored by the Prophet (SAW).

The Fourteen Masumeen — Prophet and Imams of the Ahl al-Bayt

A reference guide to the 14 Ma'sumeen — Rasulullah (SAW), Syedatona Fatema (AS), and the 12 Imams — whose names, lives, and legacy form the devotional and theological core of Bohra and wider Shia Islamic tradition.

← Back to all articles