Founding of al-Muhammadiyya at Rayy

بناء المحمدية بالري

774 CE · 158 AH

Rayy

Al-Mahdi came to Rayy in the caliphate of his father al-Mansur and built the city the people inhabit today, dug a moat around it, built a congregational mosque carried out by Ammar ibn Abi al-Khasib whose name was written on its wall, dated its building 158 AH, girded it with a suburb-wall of fired brick and named it al-Muhammadiyya — Rayy's people call the inner town al-Madina al-Dakhila and the walled suburb al-Madina al-Kharija; Hisn al-Zaynabi lay inside al-Muhammadiyya, al-Mahdi ordered its repair and lodged there overlooking mosque and governor's palace, and on his first arrival he had lodged at a village called al-Sirwan.

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

In time

760770780790
The Early Abbasid Caliphate

In space

Rayy

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

Overview

Al-Baladhuri reports that al-Mahdi came to Rayy in the caliphate of his father al-Mansur, and built the city in which people live today, and named it al-Muhammadiyya. 1

The building

He put a ditch around it, and built a congregational mosque, carried out by the hand of Ammar ibn Abi al-Khasib, and his name was written on its wall. He dated the building to 158 AH. 1

He surrounded it with a wall of fired brick. The people of Rayy call the inner city and the outer wall the outer city. 1

The fortress of al-Zinbadi

The fortress of al-Zinbadi was within al-Muhammadiyya, and al-Mahdi ordered it repaired and lodged in it; it overlooks the congregational mosque and the house of government. At his first arrival al-Mahdi had lodged in a village called al-Siruwan. 1

Connections

Explore the connections

Had participant
Ammar ibn Abi al-Khasib· Muhammad al-Mahdi
Occurred at
Rayy
During the reign of
Abu Ja'far al-Mansur

People and things also explored

Deposition of Isa ibn Musa from the succession· The execution of Salih ibn Abd al-Quddus· The Founding of Madinat al-Salam (Baghdad)· The Building of al-Rafiqa· Khuzayma ibn Khazim Institutes the Land Survey at Dabil and Nashwa· The Revolt of Sunbadh the Magian· Testament of al-Mansur to al-Mahdi and his hidden grave at Mecca· Baghdad

Sources

  1. Futuh al-Buldan — al-Baladhuri (Mu'assasat al-Ma'arif edition)
Cite this page

islam.museum contributors. “Founding of al-Muhammadiyya at Rayy”. islam.museum, https://islam.museum/en/event/founding-of-muhammadiyya-rayy/. CC BY-SA 4.0. Last updated 2026-11-22.

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

Deposition of Isa ibn Musa from the succession

In year 147 al-Mansur deposed his uncle Isa ibn Musa from the succession — al-Saffah had settled it on him after al-Mansur, and Isa was the very man who had fought the brothers Muhammad and Ibrahim for him and overcome them; al-Mansur requited him by deposing him under duress and settling the succession on his son al-Mahdi.