al-Qa'im bi-Amr Allah Muhammad ibn al-Mahdi

القائم بأمر الله محمد بن المهدي

–

Misr (Egypt)

Abu'l-Qasim Muhammad, the Ubaydid Mahdi's son and second ruler of the dynasty, succeeding on his father's death under al-Radi; earlier he had taken most of Upper Egypt and his armies held Fustat's riverine quarter 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 Early Abbasid Caliphate
Identifiers
WikidataVIAF

Life in time

82585087590092595097510001025 c.
The Early Abbasid Caliphate · Abbasid Fragmentation · The Buyid, Fatimid and Seljuk Era Contemporaries: Abu Ahmad Assal · Abu'l-Sa'ib 'Utba al-Hamadhani · Abu al-Shaykh al-Isfahani · Abu Bakr al-Shafi'i · Abu Uthman al-Maghribi

In space

Misr (Egypt)

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-Qa'im bi-Amr Allah Abu al-Qasim Muhammad ibn al-Mahdi Ubayd Allah, the second of the rulers of the Ubaydid state. He took the affair after his father's death in the days of the Abbasid al-Radi, died in the days of al-Muti', and was succeeded by his son al-Mansur billah Isma'il. This is from al-Suyuti's account, which calls the state "Ubaydid". 1

Egypt

Al-Suyuti says that he went to Egypt before that, took most of Upper Egypt, and his armies took the island from Fustat. 1

Al-Suyuti's critics

Al-Suyuti relates from his critics that he was worse than his father, that he openly cursed the prophets, that his herald called for cursing the cave and what it contained, and that he killed a number of scholars. These are sayings attributed to his critics. 2

The revolt of Abu Yazid

Ibn al-Athir says that he dug trenches around the suburbs of al-Mahdiyya at the end of Rabi al-Akhir 333 AH, when Abu Yazid seized Kairouan, and wrote to Ziri ibn Manad and the chiefs of Kutama urging them to gather to fight him. 3

Ibn Khaldun relates that the Kharijite Abu Yazid came out in his days on his donkey, titled "Shaykh of the Believers", and took all the Maghrib except Fez, and plundered and burned Bajah. 4

Notes for researchers

  • All the sources here are Sunni, not Fatimid; the data contain no Fatimid source, which needs an additional source.

Connections

Explore the connections

Predecessor of
al-Mansur bi-Allah Isma'il ibn al-Qa'im
Ruled over
Fatimid Caliphate
Successor of
Ubayd Allah al-Mahdi
Lived in
Misr (Egypt)
His reign saw
Abu Yazid revolt (944–947)· The Siege of al-Mahdiyya by Abu Yazid· Death of al-Mahdi Ubayd Allah, ruler of the Maghrib
Participated in
The Siege of al-Mahdiyya by Abu Yazid

People and things also explored

al-Mahdiyya· al-Mansur bi-Allah Isma'il ibn al-Qa'im· Ubayd Allah al-Mahdi· Fatimid Caliphate· Al-Nasa'i leaves Egypt for Damascus, Dhu al-Qa'da 302/915· al-Fa'iz bi-Nasr Allah Isa ibn al-Zafir· al-Hakim bi-Amr Allah Mansur ibn al-Aziz· al-Mu'izz li-Din Allah Ma'add ibn al-Mansur

Sources

  1. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p. 589-590,604
  2. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p. 616
  3. al-Kamil fi'l-Tarikh of Ibn al-Athir , p. 318
  4. Kitab al-Ibar of Ibn Khaldun , p. 926
  • Nomisma.org (Linked Open Data ontology for numismatic concepts)
  • Wikidata
Cite this page

islam.museum contributors. “al-Qa'im bi-Amr Allah Muhammad ibn al-Mahdi”. islam.museum, https://islam.museum/en/person/al-qaim-fatimid/. 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

al-Mahdiyya

Al-Mahdiyya, the first Fatimid seat on the Ifriqiyan coast; al-Muqaddasi c. 375 AH: walled in stone and gypsum, its folk drinking from wells and rain-cisterns, the granary of Qayrawan and berth of Sicily — whoever would see Constantinople should look on it, for it is built like it, on an island entered by a single causeway.