{
 "id": "event/founding-of-muhammadiyya-rayy",
 "class": "event",
 "slug": "founding-of-muhammadiyya-rayy",
 "label": {
  "ar": "بناء المحمدية بالري",
  "en": "Founding of al-Muhammadiyya at Rayy"
 },
 "summary": {
  "ar": "قدم المهدي الري في خلافة أبيه المنصور فبنى مدينة الري التي الناس بها اليوم وجعل حولها خندقاً وبنى فيها مسجداً جامعاً جرى على يدي عمّار بن أبي الخصيب وكتب اسمه على حائطه وأرّخ بناءها سنة ثمان وخمسين ومائة وجمل لها فصيلاً بطيف به فارقين أجر وسمّاها المحمدية فكان أهل الري يدعون المدينة الداخلة والفصيل المدينة الخارجة وكان حصن الزنبدي في داخل المحمدية فأمر المهدي بمرمّته ونزله وهو مطل على المسجد الجامع ودار الإمارة وكان المهدي أول مقدمه نزل قرية يقال لها السيروان.",
  "en": "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."
 },
 "stub": false,
 "wings": [
  "time"
 ],
 "regions": [],
 "periods": [
  "period/abbasid-early"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 774.0000821372103,
  "latest": 774.9994181947293
 },
 "display": {
  "start": {
   "edtf": "0774",
   "hijri": "0158",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "note": "أرّخ البلاذري بناءها سنة 158هـ",
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  },
  "end": {
   "edtf": "0774",
   "hijri": "0158",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "note": "أرّخ البلاذري بناءها سنة 158هـ",
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  }
 },
 "data": {
  "kind": "founding",
  "date": {
   "start": {
    "edtf": "0774",
    "hijri": "0158",
    "calendar": "julian",
    "precision": "year",
    "status": "tradition",
    "note": "أرّخ البلاذري بناءها سنة 158هـ",
    "sources": [
     "source/futuh-buldan-maarif-1407"
    ]
   }
  },
  "sources": [
   "source/futuh-buldan-maarif-1407"
  ],
  "status": {
   "review": "draft",
   "completeness": 1
  },
  "provenance": {
   "layer": "own-research",
   "generated_by": "Devin (SWE-2 High)",
   "extraction_flow": "Apple Vision OCR -> manual extraction"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "يروي البلاذري أن [[person/al-mahdi|المهدي]] قدم [[place/rayy|الري]] في خلافة أبيه المنصور، فبنى المدينة التي يسكنها الناس اليوم، وسماها المحمدية. {cite:futuh-buldan-maarif-1407}"
    },
    {
     "heading": "البناء",
     "markdown": "جعل حولها خندقاً، وبنى مسجداً جامعاً أُجري على يدي [[person/ammar-ibn-abi-al-khasib|عمار بن أبي الخصيب]]، وكُتب اسمه على حائطه. وأرّخ البناء سنة 158هـ. {cite:futuh-buldan-maarif-1407}\n\nأحاطها بفصيل من الآجر. ويدعو أهل الري المدينة الداخلة والفصيل المدينة الخارجة. {cite:futuh-buldan-maarif-1407}"
    },
    {
     "heading": "حصن الزنبدي",
     "markdown": "كان حصن الزنبدي داخل المحمدية، فأمر المهدي بمرمّته ونزله، وهو مطل على المسجد الجامع ودار الإمارة. وكان المهدي في أول قدومه قد نزل قرية يقال لها السيروان. {cite:futuh-buldan-maarif-1407}"
    }
   ],
   "frontmatter": {
    "id": "event/founding-of-muhammadiyya-rayy",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Al-Baladhuri reports that [[person/al-mahdi|al-Mahdi]] came to [[place/rayy|Rayy]] in the caliphate of his father al-Mansur, and built the city in which people live today, and named it al-Muhammadiyya. {cite:futuh-buldan-maarif-1407}"
    },
    {
     "heading": "The building",
     "markdown": "He put a ditch around it, and built a congregational mosque, carried out by the hand of [[person/ammar-ibn-abi-al-khasib|Ammar ibn Abi al-Khasib]], and his name was written on its wall. He dated the building to 158 AH. {cite:futuh-buldan-maarif-1407}\n\nHe surrounded it with a wall of fired brick. The people of Rayy call the inner city and the outer wall the outer city. {cite:futuh-buldan-maarif-1407}"
    },
    {
     "heading": "The fortress of al-Zinbadi",
     "markdown": "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. {cite:futuh-buldan-maarif-1407}"
    }
   ],
   "frontmatter": {
    "id": "event/founding-of-muhammadiyya-rayy",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "بلاذری بیان کرتے ہیں کہ [[person/al-mahdi|مہدی]] اپنے والد منصور کی خلافت کے دوران [[place/rayy|ری]] آئے، اور انھوں نے وہ شہر بسایا جو آج لوگوں کا مسکن ہے، اور اس کا نام المحمدیہ رکھا۔ {cite:futuh-buldan-maarif-1407}"
    },
    {
     "heading": "تعمیر",
     "markdown": "اس کے گرد خندق کھدوائی اور ایک جامع مسجد بنوائی جس کی تعمیر [[person/ammar-ibn-abi-al-khasib|عمار بن ابی الخصیب]] کے ہاتھوں ہوئی، اور ان کا نام مسجد کی دیوار پر لکھا گیا۔ تعمیر کی تاریخ سنہ 158 ہجری درج ہے۔ {cite:futuh-buldan-maarif-1407}\n\nشہر کو پکی اینٹوں کی ایک فصیل سے گھیرا گیا۔ ری کے لوگ اندرونی شہر کو مدینہ داخلہ اور فصیل سے باہر والے حصے کو مدینہ خارجہ کہتے ہیں۔ {cite:futuh-buldan-maarif-1407}"
    },
    {
     "heading": "حصنِ الزنبدی",
     "markdown": "حصنِ الزنبدی محمدیہ کے اندر تھا۔ مہدی نے اس کی مرمت اور اس میں قیام کا حکم دیا، یہ جامع مسجد اور دارالامارہ پر نظر رکھتا ہے۔ مہدی اپنی آمد کے آغاز میں سیروان نامی ایک گاؤں میں ٹھہرے تھے۔ {cite:futuh-buldan-maarif-1407}"
    }
   ],
   "frontmatter": {
    "id": "event/founding-of-muhammadiyya-rayy",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-18"
  }
 },
 "degree": 6,
 "contemporaries": [],
 "updated": "2026-10-16",
 "connections": [
  {
   "to": "person/ammar-ibn-abi-al-khasib",
   "type": "had_participant",
   "inverse": true
  },
  {
   "to": "person/al-mahdi",
   "type": "had_participant",
   "inverse": true,
   "role": "الباني",
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  },
  {
   "to": "place/rayy",
   "type": "occurred_at",
   "inverse": false
  }
 ],
 "related": [
  "event/ajam-earthquake-574",
  "event/al-sila-canal",
  "event/battle-of-ray-1059",
  "event/captives-of-samalu",
  "event/conquest-of-marash",
  "event/conquest-of-rayy",
  "event/conquest-of-rayy-qumis",
  "event/death-bahlawan-582"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}