Muhammad al-Mahdi

محمد المهدي

between 744 and 745 CE · c. 127 AH – c. August 785 CE · 7 Muharram 169 AH

Baghdad

Muhammad ibn Abdullah al-Mansur, al-Mahdi, third Abbasid caliph; in al-Baladhuri: he sent his son Harun raiding Byzantine lands in year 163, besieging Damalu — its people by some reports settled at Baghdad on his ruling, spared and named for their town — and he completed what remained of the march-cities' and fortresses' works after his father al-Mansur, adding to their garrisons, ordered al-Hadath built and bequeathed the building of Tarsus on al-Hasan ibn Qahtaba's description; in his caliphate a body of Qinnasrin's hadir converted and he had the khadra written at their hands.

Depth

At a glance

Roles
Caliph
Era
The Early Abbasid Caliphate
Identifiers
WikidataVIAF

Life in time

700725750775800825850 c. c.
The Early Abbasid Caliphate · The Umayyad Period Contemporaries: Abd al-Ala al-Sadafi · Abdallah Ibn Wahb Al Misri · Abu 'Ubayda Ma'mar ibn al-Muthanna · Abu Yusuf Al Qadi · Al-Dahhak ibn Makhlad

In space

Baghdad

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

Place in the story

Sunni (transmitted)

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

Reading levelRead it in the Kids' Wing

Muhammad ibn Abd Allah al-Mahdi was the third Abbasid caliph and al-Mansur's son. He finished the border cities his father began and ordered al-Hadath built, began building the Sacred Mosque and the Prophet ﷺ's Mosque, and rebuilt Jerusalem after the earthquakes — al-Mas'udi calls him gentle and generous.

Muhammad ibn Abd Allah al-Mansur al-Mahdi, third Abbasid caliph and al-Mansur's son. Al-Baladhuri records him sending his son Harun on the raid into Roman lands in 163 AH that besieged Samalu — the fate of its people being disputed — and he finished the remaining border cities and forts his father began, strengthening their garrisons and ordering al-Hadath built; he had the pledge taken for Musa al-Hadi then Harun al-Rashid. Al-Mas'udi calls him gentle and generous, records his severity against those he named the heretics as the books of Mani, Ibn Daysan and Marcion spread — and that he was the first to order the dialectical theologians to compose books answering them; and he began building the Sacred Mosque and the Prophet ﷺ's Mosque, and rebuilt Jerusalem after the earthquakes. He died at the village of Radin in 169 AH, his caliphate lasting ten years, a month and fifteen days.

Storytellers (10–12) read the Explorers text, then cross to the Scholars text.

Muhammad ibn Abd Allah al-Mansur al-Mahdi, third Abbasid caliph and al-Mansur's son. Al-Baladhuri records him sending his son Harun on the 163 AH raid into Roman lands that besieged Samalu — the fate of its people disputed under the Samalu captives — and that he finished the remaining border cities and forts his father began, strengthened their garrisons and ordered al-Hadath built; al-Suyuti records his taking the pledge of succession for Musa al-Hadi then for Harun al-Rashid. Al-Mas'udi calls him gentle and generous, records his severity against those he named the heretics as the books of Mani, Ibn Daysan and Marcion spread, and that he was the first to order the dialectical theologians to compose books in refutation; and that he began building the Sacred Mosque and the Prophet ﷺ's Mosque and rebuilt Jerusalem after the earthquakes. His death is told at the village of Radin in 169 AH, his caliphate lasting ten years, a month and fifteen days.

Overview

Muhammad ibn Abd Allah al-Mansur al-Mahdi, the third of the Abbasid caliphs, and the son of al-Mansur. 1 2

In his reign

Al-Baladhuri relates that he sent his son Harun on a raid into the lands of the Byzantines in 163 AH, and he besieged Samalu. He mentions a disagreement over the fate of its people, the captives of Samalu. 1

He completed the building of the frontier cities and fortresses that remained after his father, and increased their garrisons. He ordered the building of al-Hadath. 1

Al-Suyuti says that he gave the oath of allegiance for the heirship first to Musa al-Hadi and then to Harun al-Rashid. 2

His character and works in al-Mas'udi

Al-Mas'udi describes him as generous and open-handed. He says that he went to great lengths in killing those he called heretics, because the books of Mani, Ibn Daysan and Marcion had spread. He was the first to order the dialectical theologians to write books refuting them. 3

He says that he began the building of the Sacred Mosque and the Mosque of the Prophet ﷺ, and built Jerusalem after the earthquakes had destroyed it. 3

He relates that he died in 169 AH at the village of Rudhin, and that his caliphate lasted ten years, one month and fifteen days. 4

His officials in Khalifa ibn Khayyat

Khalifa ibn Khayyat closes his account of this reign by naming its governors and office-holders. They are given here in his order; lines the editor restored from later authors are marked as such. 5

  • Medina: Abd al-Samad ibn Ali (dismissed by al-Mahdi); then Muhammad ibn Abd Allah ibn Kathir ibn al-Salt (then dismissed); then Ubayd Allah ibn Safwan al-Jumahi (then dismissed); then Ja'far ibn Sulayman ibn Ali (160 AH; dismissed 166 AH); then Ibrahim ibn Yahya ibn Muhammad (died); then Ishaq ibn Yahya (until al-Mahdi died) 6
  • Mecca: Muhammad ibn Abd Allah ibn Kathir ibn al-Salt (dismissed by al-Mahdi); then Ja'far ibn Sulayman (with Medina); then Ubayd Allah ibn Qutham ibn al-Abbas ibn Ubayd Allah ibn al-Abbas; then Ahmad ibn Isma'il (until al-Mahdi died) 6
  • Yemen: Yazid ibn Mansur (confirmed, then dismissed); then Raja' ibn Rawh (a descendant of Rawh ibn Zinba'); then Ali ibn Sulayman ibn Ali ibn Abd Allah ibn Abbas; then Sulayman ibn Yazid al-Harithi; then Abd Allah ibn Sulayman al-Hashimi 6
  • Basra: Ubayd Allah ibn al-Hasan (over the prayer; dismissed by al-Mahdi); then Sa'id ibn Da'laj (over public order; dismissed by al-Mahdi); then Abd al-Malik ibn Ayyub al-Numayri (dismissed 160 AH); then Muhammad ibn Sulayman ibn Ali ibn Abd Allah ibn Abbas (then dismissed); then Salih ibn Dawud (165 AH; left his mawla Abu Muqatil as deputy); then Rawh ibn Hatim (until al-Mahdi died) 6
  • Kufa: Amr ibn Zuhayr (brother of al-Musayyab ibn Zuhayr al-Dabbi; then dismissed); then Isa ibn Luqman ibn Muhammad ibn Hatib (may God be pleased with him) al-Jumahi (then dismissed); then Sharik ibn Abd Allah al-Nakha'i, the judge (then dismissed); then Ishaq ibn al-Sabbah (over public order under Sharik, then governor, then dismissed); then Hashim ibn Sa'id ibn Mansur (his cousin; then dismissed); then Musa ibn Isa (until al-Mahdi died) 6 7
  • Khurasan: Abd Allah ibn Humayd ibn Qahtaba (dismissed by al-Mahdi); then Abu Awn al-Himsi (then dismissed); then Mu'adh ibn Muslim (160 AH); then al-Musayyab ibn Zuhayr (163 AH); then Abu al-Abbas al-Tusi (165 AH until al-Mahdi died) 7
  • Sijistan: Hamza ibn Malik ibn Zuhayr al-A'idhi; then Sa'id ibn Da'laj (died); then Tamim ibn Sa'd (Sa'id's deputy); then Muhammad ibn Ja'far ibn al-Ash'ath 7
  • Sind: Muhammad ibn Ma'bad ibn al-Khalil (a man of Tamim; dismissed by al-Mahdi); then Rawh ibn Hatim (159 AH, then dismissed); then Nasr ibn Muhammad al-Khuza'i (reinstated, then dismissed); then Safih ibn Amr (brother of Hisham ibn Amr al-Taghlibi; then dismissed); then al-Layth, his mawla (until al-Mahdi died) 7
  • Jazira: Musa ibn Mus'ab (dismissed by al-Mahdi); then al-Musayyab ibn Zuhayr (then dismissed); then Abd al-Samad ibn Ali; then al-Fadl ibn Salih; then Ali ibn Sulayman ibn Ali; then Imran ibn al-Minhal; then Ali ibn Sulayman (second term); then Abd al-Malik ibn Salih (twice); then Abd Allah ibn Salih 7
  • Ifriqiya: Yazid ibn Hatim (confirmed until he died) 7
  • Judgeship of Basra: Ubayd Allah ibn al-Hasan al-Anbari (confirmed, dismissed 169 AH); then Khalid ibn Taliq (a descendant of Imran ibn Husayn; some months); then Umar ibn Uthman (of Taym of Quraysh) 7
  • Judgeship of Kufa: Sharik ibn Abd Allah al-Nakha'i (confirmed); then Afiya ibn Yazid al-Awdi (judged for al-Mahdi); then Ibn Ulatha al-Uqayli (judged for al-Mahdi) 8
  • Judgeship of Medina: Abd al-Aziz ibn al-Muttalib (appointed by Muhammad ibn Abd Allah ibn Kathir, kept on by Ubayd Allah ibn Safwan); then Muhammad ibn Imran al-Taymi (appointed directly by al-Mahdi); then Sa'id ibn Sulayman ibn Musahiq 8
  • Police: Nasr ibn Malik (died); then Hamza ibn Malik; then Abd Allah ibn Malik 8
  • Chancery (letters): Abu Ubayd Allah Mu'awiya ibn Ubayd Allah (then dismissed); then Umar ibn Bazi' 8
  • Diwan of Khurasan: Bakr ibn Mu'awiya al-Bahili (then dismissed) 8
  • Expenditure, treasuries, storehouses, slaves and the diwan of Syria: Abu Sumayr Ayyub (mawla of Banu Fihr from Syria; Hatim calls him Ayyub ibn Abi Sumayr) 8
  • Diwan: Ibrahim ibn Salih (per Hatim; died); then Abu al-Wazir Umar ibn Mutarrif (per Hatim) 8
  • Army register of Khurasan: Abd al-Jabbar ibn Shu'ayb 8
  • Treasury: Faraj ibn Fadala 8
  • Grievances: Sallam, his mawla 8
  • Seal: Khalid ibn Yazid ibn Abd Allah ibn Mawhab al-Hamdani (died); then Ali ibn Yaqtin 9
  • Guard: Muhriz Abu al-Qasim; then Abu al-Abbas al-Tusi; then Abd Allah ibn Abi al-Abbas al-Tusi 9
  • Chamberlain: al-Rabi', his mawla; then al-Hasan ibn al-Rabi' 9

Central zimam: commissioning,not inventing accounts

Nahide Bozkurt attributes accounting oversight in162AH/779 and connecting provincial zimam offices to a168AH/784–85centre to al-Mahdi 10. Duri renders the earlier stage162AH/778–79, then describes central zimam al-azimma checking accounts,supervising work and coordinating between a bureau,the vizier or other bureaus 11. Each source's CE rendering is retained; no new day or month is extracted. His role in central zimam oversight is institutional commissioning,not invention of accounting or solitary authorship of an operating manual. The named functions establish neither political independence nor measured success in eliminating corruption.

Identity basis and limits of the prayer report

On the actual Dar al-Minhaj447image,Suyuti transmits from Abu Ubayda that al-Mahdi led the five prayers in Basra's congregational mosque and waited for a worshipper,in a report about his accommodating character 12. This is individual Muslim-practice evidence,not inference from name,lineage or coins. The museum's Sunni default under its scope policy is explicit; it does not claim later denominational membership,access to inner belief or authentication of every biographical chain. Nor does the prayer report become general approval of his policies or a reason to erase existing repression and political-conflict accounts 10.

Preserved responsibilities,not reassigned names

The preceding Khalifa ibn Khayyat list preserves Umar ibn Bazi in correspondence and other names in sealing,expenditure and treasuries; distinct functions are part of the evidence 13. We do not replace the correspondence role with an audit appointment from a digital lead whose edition remains unestablished. The older zimam-and-seal narrative is distinguished from the Abbasid centre: shared vocabulary is not institutional identity 1 11. Existing birth/death dates,official lists,political accounts and source wording remain preserved; this addition explains one improvement,not a life rewritten around it.

Your choice is kept in this browser only.

Connections

Explore the connections

Predecessor of
al-Hadi (Musa)
Ruled over
Abbasid Caliphate
Successor of
Abu Ja'far al-Mansur
Lived in
Baghdad
Child of
Abu Ja'far al-Mansur
Participated in
The Aman of Samalu and its People's Transfer to Baghdad· The Digging of Nahr al-Sila· Death of al-Mahdi· Deposition of Isa ibn Musa from the succession· The execution of Salih ibn Abd al-Quddus· The Building of Madinat al-Hadath· The Founding of Madinat al-Salam (Baghdad)· Founding of al-Muhammadiyya at Rayy· The Building of al-Rafiqa· The Building of Sisar· Ghiyath's Fabricated Hadith and 'Your Nape Is a Liar's Nape'· Establishment of the barid from the Hijaz to Iraq· Works on the Mecca road and reform of the minbars· The Great Enlargement of the Sacred Mosque· Pursuit of the zanadiqa under al-Mahdi· Michael's Incursion on the Mar'ash Depths, 161· Testament of al-Mansur to al-Mahdi and his hidden grave at Mecca
Parent of
Harun al-Rashid· Ulayya bint al-Mahdi
His reign saw
Battle of Caesarea (781)· The Aman of Samalu and its People's Transfer to Baghdad· The execution of Salih ibn Abd al-Quddus· The Building of Madinat al-Hadath· Khuzayma ibn Khazim Institutes the Land Survey at Dabil and Nashwa· Establishment of the barid from the Hijaz to Iraq· Works on the Mecca road and reform of the minbars· The Great Enlargement of the Sacred Mosque· Michael's Incursion on the Mar'ash Depths, 161· The movement of al-Muqanna' al-Khurasani (the Veiled One)· The Paderborn Plot and Charlemagne's Campaign against al-Andalus
Related to
The Taking and Settling of Mar'ash· The Building of Tarsus

People and things also explored

Abu Ja'far al-Mansur· Harun al-Rashid· Baghdad· al-Hadi (Musa)· Abbasid Caliphate· al-Amin (Muhammad)· al-Hasan ibn Qahtaba· The Aman of Samalu and its People's Transfer to Baghdad

Explore the timeline

Sources

  1. Futuh al-Buldan — al-Baladhuri (Mu'assasat al-Ma'arif edition)
  2. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p. 440-442
  3. Muruj al-Dhahab — al-Masʼudi , p. 669
  4. Muruj al-Dhahab — al-Masʼudi , p. 298-303
  5. Tarikh Khalifa ibn Khayyat (ed. Akram Diya' al-Umari, Dar Tayba) , p. 440–443
  6. Tarikh Khalifa ibn Khayyat (ed. Akram Diya' al-Umari, Dar Tayba) , p. 440
  7. Tarikh Khalifa ibn Khayyat (ed. Akram Diya' al-Umari, Dar Tayba) , p. 441
  8. Tarikh Khalifa ibn Khayyat (ed. Akram Diya' al-Umari, Dar Tayba) , p. 442
  9. Tarikh Khalifa ibn Khayyat (ed. Akram Diya' al-Umari, Dar Tayba) , p. 443
  10. Mehdi-Billah — Nahide Bozkurt, TDV , p.377–379
  11. Divan — Abd al-Aziz al-Duri, TDV , Abbasid administration
  12. Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition) , p.447
  13. Tarikh Khalifa ibn Khayyat (ed. Akram Diya' al-Umari, Dar Tayba) , p.442–443
  • Wikidata
Cite this page

islam.museum contributors. “Muhammad al-Mahdi”. islam.museum, https://islam.museum/en/person/al-mahdi/. 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

Abu Ja'far al-Mansur

Abdullah ibn Muhammad ibn Ali ibn Abdullah ibn al-Abbas, second Abbasid caliph; in al-Baladhuri: the thousand dinars Abd al-Malik had added to the Cypriots' tribute ran until his caliphate, when he said 'we are worthier of being just to them, and did not profit by wronging them', restoring them to Mu'awiya's ancient treaty; he it was who granted his brother Sulayman ibn Ali Balis and its villages after the confiscation of Umayyad wealth.