al-Hakim bi-Amr Allah II Ahmad ibn al-Mustakfi

الحاكم بأمر الله الثاني أحمد بن المستكفي

† Hijri date derived by computation from the Gregorian/Julian date; it may differ from the transmitted date by a day or two.

Qus

Cairo caliph [741–753]; his father's deed — witnessed by forty just men of Qus — was read in al-Mansur Abu Bakr's council of 11 Dhu'l-Hijja 741, Ibrahim deposed and Ahmad hailed as al-Hakim II. Ibn Fadl Allah: 'imam of our age, cloud of our Egypt — he revived the caliphate's rites and reunited his scattered house' 1.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Roles
Caliph
Era
The Mongol and Post-Mongol Era
Identifiers
Wikidata

Life in time

12751300132513501375140014251450 c. c.
The Crusades, Ayyubids and Mamluks · The Mongol and Post-Mongol Era Contemporaries: Abd al-Rahim al-Iraqi · Abd Allah ibn Miqdad al-Aqfahsi · Abdallah ibn Muhammad al-Husayni Nuqrahkar · Abdullah al-Yafi'i · Abu al-Khayr al-'Ala'i al-Muqaddisi

In space

Qus

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

Place in the story

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

Overview

Al-Hakim bi-Amr Allah II, Abu al-Abbas Ahmad ibn al-Mustakfi, the caliph in Cairo between 741 and 753 AH. His father appointed him heir to the caliphate when he died at Qus. 2

The oath of allegiance

Al-Suyuti says that when the sultan was dying, he directed that the affair should return to the heir apparent Ahmad. Al-Mansur Abu Bakr ibn al-Nasir held a council on Thursday the eleventh of Dhu al-Hijja 741 AH, attended by the caliph Ibrahim and the judges. Ibn Jama'a said that al-Mustakfi had bequeathed the caliphate to his son Ahmad and had forty upright men witness it at Qus, so Ibrahim was deposed and Ahmad given the allegiance. 2

He took the title of his grandfather al-Hakim. Ibn Fadl Allah describes him as the imam of their age, who revived the forms of the caliphate and united the Banu his father's kin. 3

His death

He died in the plague in the middle of 753 AH. The general plague had been in his days in 749 AH. 4

Connections

Explore the connections

Ruled over
Abbasid Caliphate of Cairo
Successor of
al-Wathiq bi-Llah Ibrahim ibn al-Mustamsik
Died in
Qus
Predecessor of
al-Mu'tadid bi'llah Abu'l-Fath Abu Bakr ibn al-Mustakfi
His reign saw
Al-Dhahabi gradually loses his sight, 743/1342· Al-Subki summoned to Egypt, then restored at Damascus, 743/1342· Reconciliation between al-Subki and Ibn Qayyim al-Jawziyya, 16 Jumada II 750· Al-Subki teaches at the Shamiyya al-Barraniyya, 21 Dhu al-Hijja 745· Battle of Kairouan (1348)· Battle of Oued Ourk (1349)· Battle of Tinramrin (1350)· Death of Shams al-Din al-Dhahabi at Damascus, 748/1348· Death of Ibn Fadl Allah al-Umari at Damascus, 749/1349· Death of Ibn Qayyim al-Jawziyya at Damascus, buried at Bab al-Saghir, Rajab 751/1350· The fall of al-Jazira al-Khadra and the breaking of the fleet· Fifth Siege of Gibraltar· Ibn al-Mulaqqin's own quest for hadith under al-Rahbi and Mughaltay, about 747/1346· Ibn Battuta named envoy to China· Ibn Battuta returns to Fez· The Black Death takes Ibn Khaldun's parents in Tunis· Ibn Qayyim's dispute with al-Subki over the contest stake, Muharram 746/1345· Ibn Qayyim's inaugural lecture at the Sadriyya madrasa, 6 Safar 743/11 July 1342· Ibn Rajab moves to Damascus with his father, 744· Ibn Rajab hears Ibn Qayyim al-Jawziyya and the shaykhs of Damascus, c. 750· The Kairouan disaster· Abu al-Hasan al-Marini's entry into Ifriqiya· Reintegration of the Crown of Mallorca (1343)· Siege of Algeciras (1350)· Siege of Caffa· Siege of Oran (1348)· Siege of Oran (1349)· Ibn al-Naqib licenses Taj al-Din al-Subki to give fatwas and teach, c. 745· Al-Umari dismissed from the Damascus chancery, Safar 743/1342· The plague and the flight to Jerusalem, c. 748/1348· The retirement years and the great works, 743-749/1342-1349
Participated in
Dropping the Khutba for Two Caliphs and the Empty Pulpits

People and things also explored

Damascus· Ibn Qayyim al-Jawziyya· Ibn Fadl Allah al-Umari· Cairo· Abu al-Hasan al-Marini, sultan of the Maghrib· al-Mustakfi I· Taqi al-Din al-Subki· al-Wathiq bi-Llah Ibrahim ibn al-Mustamsik

Sources

  1. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p. 739-743
  2. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p.739
  3. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p.743
  4. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p.753
  • al-Hakim II — Wikidata Q2402643
Cite this page

islam.museum contributors. “al-Hakim bi-Amr Allah II Ahmad ibn al-Mustakfi”. islam.museum, https://islam.museum/en/person/al-hakim-bi-amr-illah-ii/. CC BY-SA 4.0. Last updated 2026-11-23.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

People

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

Damascus

Syrian city, capital of the Umayyad caliphate (661-750 CE) and home of the Umayyad Mosque. Ibn Battuta records reaching Damascus on 9 Ramadan 726 and lodging at the Maliki madrasa known as al-Sharbashiyya, quoting Ibn Jubayr's naming it 'the paradise of the East'; he calls its congregational mosque the finest of the world's mosques in construction, noting that al-Walid ibn Abd al-Malik undertook the building after the Byzantine king sent craftsmen The Encyclopaedia of Islam traces the city from the Bronze Age through Aramaean, Hellenistic, Roman and Byzantine rule to the Arab conquest of 14-15 AH (635-636 CE), then through Umayyad, Abbasid, Burid, Zengid, Ayyubid, Mamluk and Ottoman rule to the French mandate of 1920, describing the Great Mosque built by al-Walid I and the city's role as a centre of madrasas under Nur al-Din and the Ayyubids.