Afdal al-Din al-Khunaji

أفضل الدين الخونجي

1194 CE · Jumada I 590 AH – c. January 1249 CE · Ramadan 646 AH

Cairo

The Shafi'i qadi al-qudat and logician (b. 590, d. Ramadan 646, Muqattam) — alone in his age's headship of the ancients' sciences; author of al-Mujaz, al-Jumal and Kashf al-Asrar; so abstracted that his finger once had to be freed by a blacksmith from the sultan's ewer-spout while he lost himself in a problem 1.

Depth

At a glance

Roles
Scholar · Jurist · Philosopher
Era
The Crusades, Ayyubids and Mamluks
Region
Persia & Central Asia · Egypt & Nile
Review
Draft Completeness 1/5 · Help complete it

Life in time

11251150117512001225125012751300 c. c. c. c. c.
The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks · The Mongol and Post-Mongol Era Contemporaries: Abu al-Abbas al-Qurti · Abu al-Hajjaj al-Biyasi · Abu Bakr ibn Qawam al-Balisi · Ahmad ibn Yusuf al-Tifashi · Ajiba bint al-Baqdari

In space

Cairo

Map: Natural Earth, public domain · places and route from the graph

Place in the story

    sunni-shafii (transmitted)

    Roles are dated and sourced; the museum describes the act and attributes the judgement.

    Overview

    Al-Khunaji, the Shafi'i chief qadi; born Jumada I 590, he studied in the non-Arab lands, then came to Egypt and held its judgeship — seeking and attaining — and plunged into the sciences of the ancients until he alone held their headship in his time, giving fatwa and debating. 1

    His absentmindedness

    He composed al-Mujiz, al-Jumal, Kashf al-asrar and Kitab adwar al-hayat; his blind pupil al-'Izz al-Irbili mourned him in verse. Absentmindedness would overtake him in the rational problems he pondered: once at the sultan's he put his hand into the spout-ring of a ewer and forgot himself in thought — the company rose while he remained seated, his finger holding him down, until a blacksmith was brought to free it. 1

    Connections

    Explore the connections

    Died in
    Cairo
    Buried in
    Cairo

    People and things also explored

    Al-Azhar Mosque· The Dar al-Hikma of Cairo· Baybars takes the sultanate, 658 AH· Capture of Cairo· death of Asad al-Dīn Shīrkūh — Saladin chosen vizier in his place· The great earthquake of Egypt, 608 AH· Egypt's famine and epidemic, 695· Four madhhab qadis appointed in Egypt, 663

    Sources

    1. Shadharat al-Dhahab — Ibn al-Imad al-Hanbali , p. 244-245
    Cite this page

    islam.museum contributors. “Afdal al-Din al-Khunaji”. islam.museum, https://islam.museum/en/person/al-khunaji/. CC BY-SA 4.0. Last updated 2026-10-21.

    Improve this page on GitHub · Report an error · JSON

    Wing

    People

    Prophets, companions, scholars, rulers, scientists, poets, travelers: women and men who shaped the story.
    Related

    Al-Azhar Mosque

    Al-Azhar at Cairo: founded by the Fatimids as the mosque of their da'wa, then turned by the vizier Ya'qub ibn Killis in 378 into a university teaching the sciences and letters — from a pulpit reserved for the Fatimid call into one of Egypt's foremost centres of learning beside the mosques of Amr, Ibn Tulun and al-Hakim.