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.

Depth

At a glance

Era
The Early Abbasid Caliphate
Review
Draft Completeness 1/5 · Help complete it

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

People and things also explored

the great ʿAjam earthquake — Iraq to beyond Rayy· The Digging of Nahr al-Sila· The Aman of Samalu and its People's Transfer to Baghdad· The Taking and Settling of Mar'ash· Conquest of Rayy (22 AH)· The Conquest of Rayy and Qumis· death of al-Bahlawan — the Isfahan mazhab wars, the Rayy fitna, Tughril breaks free· Death of al-Mahdi

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-10-16.

Improve this page on GitHub · Report an error · JSON

Wing

Time

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

the great ʿAjam earthquake — Iraq to beyond Rayy

An earthquake shook the lands of ʿAjam from the Iraq side to beyond Rayy, killing multitudes — its ruin visible for an age.