Testament of al-Mansur to al-Mahdi and his hidden grave at Mecca

Time People Words

وصية المنصور للمهدي قبل حجته الأخيرة ووفاته وقبره المخفي بمكة

Dhu al-Hijja 158 AH

Mecca

When al-Mansur resolved on pilgrimage in the year 158 he charged his son al-Mahdi concerning himself, his family and the Muslims, forbade him to open the Muslims' treasuries until he was sure of his death, and told him to pay his debt of three hundred thousand dinars 1. He said he had been born in Dhu al-Hijja and thought he would die in it 2. He died at Mecca in Dhu al-Hijja and al-Rabi' the chamberlain concealed his death until he had taken the oath for al-Mahdi 3; he was buried at Bab al-Mu'alla, and al-Rabi' dug a hundred graves and buried him in another, so his grave is not known 4.

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

Depth

At a glance

Era
The Early Abbasid Caliphate
Region
Arabia

In space

Mecca

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

Summary

When the caliph Abu Ja'far al-Mansur resolved to make the pilgrimage in the year 158, he called his son and heir al-Mahdi and charged him concerning his own affairs, his family and all the Muslims, and instructed him in running the realm and guarding the frontiers. 1 Mortal illness seized him on the road; he entered Mecca gravely ill and died there in Dhu al-Hijja, 3 and was buried at the pass of Bab al-Mu'alla with his grave concealed so that it would not be known. 4 This record completes the record of al-Mansur's death.

The testament before departure

Ibn Kathir relates that when al-Mansur resolved on pilgrimage he called al-Mahdi and charged him with good concerning his own person, his family and the Muslims, and taught him how affairs are managed and the frontiers guarded, with counsels too long to set out. 1 He forbade him to open any of the Muslims' treasuries until he was certain of his death, since they held enough to sustain the Muslims for ten years even if not a dirham of land-tax were collected. 1 He charged him to pay his debt, three hundred thousand dinars, because he did not think it right that it be paid from the treasury, and al-Mahdi did so. 1 As he took leave he told him he had been born in Dhu al-Hijja and it had come to him that he would die in Dhu al-Hijja, and that this was what emboldened him to go on pilgrimage that year. 2

The illness on the road

He set out on pilgrimage driving the sacrificial animals with him; a few stages past Kufa the illness that killed him took hold, he had poor health and the heat of midday travel bore hard on him, and an excessive flux seized him so that his illness grew strong and he entered Mecca very ill. 3 At the last halt before Mecca he found writing on the front wall of the lodging, summoned the keepers of the Ka'ba and had them read it, and they saw nothing, so he knew his end had been announced to him. 2 Ibn Kathir also relates that in his palace al-Khuld he had seen a frightening dream in which someone at the palace door announced his end in verse, and some say a voice called out to him. 2

His last words

The last thing he said was: O God, bless me in meeting You. 2 It is also said that he said: Lord, if I have disobeyed You in many things, I have obeyed You in what You love most, the sincere testimony that there is no god but God. 2 Al-Dhahabi quotes from al-Mada'ini that he said: O God, I committed grave wrongs out of boldness toward You, and I have obeyed You in what You love most, the testimony that there is no god but God, as a favour from You and not a favour to You; then he died. 5 The inscription on his seal was: God is the trust of Abd Allah and in Him he believes. 2

Concealing the death and the oath

Ibn Kathir relates that he died on the night of Saturday, six or seven days into Dhu al-Hijja, and that al-Rabi' the chamberlain kept his death secret until he had taken the oath for al-Mahdi from the commanders and the heads of Banu Hashim, and only then was he buried. 3 Ibrahim ibn Yahya ibn Muhammad ibn Ali prayed over him; he was the one who led the pilgrimage that year. 3 Ibn Kathir reports that al-Tabari relates that a day before his death al-Mansur roused himself, leaned on support and called the commanders and renewed the oath to his son al-Mahdi. 4 Al-Rabi' sent the oath with the courier to al-Mahdi in Baghdad, and the courier reached him on the Tuesday in mid-Dhu al-Hijja. 4

What he left

Al-Dhahabi relates from al-Rabi' the chamberlain that he and al-Mahdi went round the storehouses after al-Mansur's death and saw in one room four hundred jars with sealed mouths holding salted livers kept for a siege. 5 Ibn Kathir notes that he left a debt of three hundred thousand dinars that he charged al-Mahdi to settle. 1 Ibn Kathir names among his sons Muhammad al-Mahdi, Ja'far the elder who died in his lifetime, Isa, Ya'qub, Sulayman, Ja'far the younger, Salih, al-Qasim, and a daughter, al-Aliya. 4

The hidden grave

Al-Mansur was buried at Kada, at the pass of Bab al-Mu'alla in the upper part of Mecca. 3 Ibn Kathir says his grave is not known because it was hidden, and that al-Rabi' the chamberlain dug a hundred graves and buried him in a different one so that it would not be known. 4 According to al-Suli, as al-Dhahabi quotes him, he was buried between al-Hajun and Bir Maymun in Dhu al-Hijja of the year 158. 5

Where the reports differ

His age at death is given as sixty-three in the commoner report according to Ibn Kathir, others say sixty-four, sixty-five or sixty-eight; al-Dhahabi says he lived sixty-four years. 3 The day of death is given as the sixth or the seventh of Dhu al-Hijja. 2 His last words are reported in two forms, one short, a prayer for blessing in the meeting, and one longer, a confession of wrongdoing with hope in the sincere testimony. 2

Sources and documentation

The record rests on Ibn Kathir and al-Dhahabi. The volumes of al-Tabari for the year 158 were not among the pages read, so what is attributed to al-Tabari here comes through Ibn Kathir.

Connections

Explore the connections

Part of
Death of al-Mansur
Occurred at
Mecca
Had participant
Abu Ja'far al-Mansur· Muhammad al-Mahdi· al-Rabi' ibn Yunus

People and things also explored

Baghdad· Death of al-Mansur· Abu Ja'far al-Mansur· Deposition of Isa ibn Musa from the succession· The execution of Salih ibn Abd al-Quddus· The Founding of Madinat al-Salam (Baghdad)· Founding of al-Muhammadiyya at Rayy· The Building of al-Rafiqa

Sources

  1. al-Bidaya wa-l-Nihaya — Ibn Kathir , scan vol. 5 p. 511
  2. al-Bidaya wa-l-Nihaya — Ibn Kathir , scan vol. 5 p. 512
  3. al-Bidaya wa-l-Nihaya — Ibn Kathir , scan vol. 5 p. 506
  4. al-Bidaya wa-l-Nihaya — Ibn Kathir , scan vol. 5 p. 513
  5. Siyar A'lam al-Nubala' — al-Dhahabi (Dar al-Risala al-Alamiyya edition) , scan vol. 1 p. 2513
Cite this page

islam.museum contributors. “Testament of al-Mansur to al-Mahdi and his hidden grave at Mecca”. islam.museum, https://islam.museum/en/event/testament-of-al-mansur-to-al-mahdi/. CC BY-SA 4.0. Last updated 2026-11-16.

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

Wing

Time

Eras, timelines, this day in history, any year in the Islamic world.
Related

Baghdad

Baghdad lies on both banks of the Tigris. Founded by al-Mansur in the eighth century as his Round City and called Madinat al-Salam, it stayed the centre of the Abbasid caliphate until the Mongol conquest of 656/1258 and was for centuries the cultural metropolis of the Muslim world. It later became a provincial centre under the Ilkhanids and the Ottomans, and in 1921 the capital of modern Iraq.