{
 "id": "person/al-qaim-fatimid",
 "class": "person",
 "slug": "al-qaim-fatimid",
 "label": {
  "ar": "القائم بأمر الله محمد بن المهدي",
  "en": "al-Qa'im bi-Amr Allah Muhammad ibn al-Mahdi"
 },
 "summary": {
  "ar": "أبو القاسم محمد بن المهدي عبيد الله، ثاني ملوك الدولة العبيدية، قام بالأمر بعد موت أبيه في أيام الراضي، وكان قبل قد سار إلى مصر فأخذ أكثر الصعيد وملكت جيوشه الجزيرة من الفسطاط {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}، ومات في أيام المطيع وقام بعده ولي عهده ابنه المنصور بالله إسماعيل، ونقل السيوطي عن منتقديه أنه كان شراً من أبيه وأظهر سب الأنبياء وكان مناديه ينادي العنوا الغار وما حوى وقتل خلقاً من العلماء {cite:tarikh-khulafa-minhaj-1434 p. 616}. وعند ابن الأثير لما استولى أبو يزيد على القيروان وقتل ميسوراً حفر الخنادق حول أرباض المهدية آخر ربيع الآخر سنة 333هـ وكتب إلى زيري بن مناد سيد صنهاجة وإلى سادات كتامة والقبائل يحضهم على الاجتماع بالمهدية وقتال الخارجي فتهيأوا للمسير {cite:kamil-ibn-al-athir p. 318}، وعند ابن خلدون وفي أيامه خرج أبو يزيد الخارجي على حماره يتلقب بشيخ المؤمنين يدعو للناصر فملك المغرب كله ما عدا فاس ونهب باجة وأحرقها وقتل الأطفال وسبى النساء ولحق فل أهل الضواحي بالقيروان حفاة عراة ومات أكثرهم {cite:tarikh-ibn-khaldun-ibar p. 926}",
  "en": "Abu'l-Qasim Muhammad, the Ubaydid Mahdi's son and second ruler of the dynasty, succeeding on his father's death under al-Radi; earlier he had taken most of Upper Egypt and his armies held Fustat's riverine quarter {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [],
 "periods": [
  "period/abbasid-early"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "data": {
  "gender": "male",
  "provenance": {
   "layer": "own-research",
   "source": "تاريخ الخلفاء للسيوطي (ط المنهاج 1434هـ/2013م) ص 594–604",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "run": "lib-tarikh-khulafa-batch-34"
  },
  "external_ids": {
   "wikidata": "Q293549"
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar",
   "source/kamil-ibn-al-athir",
   "source/tarikh-khulafa-minhaj-1434"
  ],
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Devin (SWE-2 High)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "القائم بأمر الله أبو القاسم محمد بن المهدي عبيد الله، ثاني ملوك الدولة العبيدية. قام بالأمر بعد موت أبيه في أيام الراضي العباسي، ومات في أيام المطيع، وخلفه ابنه المنصور بالله إسماعيل. هذا من رواية السيوطي، وهو يسمي الدولة «العبيدية». {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}"
    },
    {
     "heading": "مصر",
     "markdown": "يذكر السيوطي أنه سار قبل ذلك إلى مصر، فأخذ أكثر الصعيد، وملكت جيوشه الجزيرة من الفسطاط. {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}"
    },
    {
     "heading": "نقد السيوطي",
     "markdown": "ينقل السيوطي عن منتقديه أنه كان شراً من أبيه، وأنه أظهر سب الأنبياء، وأن مناديه كان ينادي بلعن الغار وما حوى، وأنه قتل خلقاً من العلماء. وهذه أقوال منسوبة إلى منتقديه. {cite:tarikh-khulafa-minhaj-1434 p. 616}"
    },
    {
     "heading": "ثورة أبي يزيد",
     "markdown": "عند ابن الأثير حفر الخنادق حول أرباض المهدية آخر ربيع الآخر سنة 333هـ، لما استولى أبو يزيد على القيروان. وكتب إلى زيري بن مناد وسادات كتامة يحضّهم على الاجتماع لقتاله. {cite:kamil-ibn-al-athir p. 318}\n\nويروي ابن خلدون أن أبا يزيد الخارجي خرج في أيامه على حماره يتلقب بشيخ المؤمنين، فملك المغرب كله ما عدا فاس، ونهب باجة وأحرقها. {cite:tarikh-ibn-khaldun-ibar p. 926}"
    },
    {
     "heading": "ملاحظات للباحثين",
     "markdown": "- المصادر كلها سنية وغير فاطمية؛ لا يوجد في البيانات مصدر فاطمي: يحتاج إلى مصدر إضافي."
    }
   ],
   "frontmatter": {
    "id": "person/al-qaim-fatimid",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Al-Qa'im bi-Amr Allah Abu al-Qasim Muhammad ibn al-Mahdi Ubayd Allah, the second of the rulers of the Ubaydid state. He took the affair after his father's death in the days of the Abbasid al-Radi, died in the days of al-Muti', and was succeeded by his son al-Mansur billah Isma'il. This is from al-Suyuti's account, which calls the state \"Ubaydid\". {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}"
    },
    {
     "heading": "Egypt",
     "markdown": "Al-Suyuti says that he went to Egypt before that, took most of Upper Egypt, and his armies took the island from Fustat. {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}"
    },
    {
     "heading": "Al-Suyuti's critics",
     "markdown": "Al-Suyuti relates from his critics that he was worse than his father, that he openly cursed the prophets, that his herald called for cursing the cave and what it contained, and that he killed a number of scholars. These are sayings attributed to his critics. {cite:tarikh-khulafa-minhaj-1434 p. 616}"
    },
    {
     "heading": "The revolt of Abu Yazid",
     "markdown": "Ibn al-Athir says that he dug trenches around the suburbs of al-Mahdiyya at the end of Rabi al-Akhir 333 AH, when Abu Yazid seized Kairouan, and wrote to Ziri ibn Manad and the chiefs of Kutama urging them to gather to fight him. {cite:kamil-ibn-al-athir p. 318}\n\nIbn Khaldun relates that the Kharijite Abu Yazid came out in his days on his donkey, titled \"Shaykh of the Believers\", and took all the Maghrib except Fez, and plundered and burned Bajah. {cite:tarikh-ibn-khaldun-ibar p. 926}"
    },
    {
     "heading": "Notes for researchers",
     "markdown": "- All the sources here are Sunni, not Fatimid; the data contain no Fatimid source, which needs an additional source."
    }
   ],
   "frontmatter": {
    "id": "person/al-qaim-fatimid",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "القائم بامر اللہ ابو القاسم محمد بن المہدی عبید اللہ، عبیدی حکومت کے دوسرے بادشاہ تھے۔ وہ اپنے والد کی وفات کے بعد الراضی عباسی کے زمانے میں امر کے مالک بنے، اور المطیع کے زمانے میں فوت ہوئے، اور ان کے بعد ان کے بیٹے المنصور باللہ اسماعیل جانشین ہوئے۔ یہ سیوطی کی روایت ہے، جو اس حکومت کو «عبیدیہ» کہتے ہیں۔ {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}"
    },
    {
     "heading": "مصر",
     "markdown": "سیوطی ذکر کرتے ہیں کہ اس سے پہلے وہ مصر کی طرف گئے، صعید کا بیشتر حصہ لے لیا، اور ان کے لشکروں نے فسطاط سے جزیرے پر قبضہ کر لیا۔ {cite:tarikh-khulafa-minhaj-1434 p. 589-590,604}"
    },
    {
     "heading": "سیوطی کی تنقید",
     "markdown": "سیوطی اپنے ناقدین سے نقل کرتے ہیں کہ وہ اپنے والد سے بھی برے تھے، انہوں نے انبیاء کو برا کہنے کو ظاہر کیا، ان کا منادی غار اور اس میں جو کچھ ہے اس پر لعنت کا اعلان کرتا تھا، اور انہوں نے علماء کی ایک جماعت کو قتل کیا۔ یہ اقوال ان کے ناقدین کی طرف منسوب ہیں۔ {cite:tarikh-khulafa-minhaj-1434 p. 616}"
    },
    {
     "heading": "ابو یزید کی بغاوت",
     "markdown": "ابن الاثیر کے مطابق جب ابو یزید نے قیروان پر قبضہ کیا تو ربیع الآخر سنہ 333 ہجری کے آخر میں مہدیہ کے اطراف میں خندقیں کھودی گئیں۔ انہوں نے زیری بن مناد اور کتامہ کے سرداروں کو خط لکھ کر ابو یزید سے لڑنے کے لیے جمع ہونے کی ترغیب دی۔ {cite:kamil-ibn-al-athir p. 318}\n\nابن خلدون روایت کرتے ہیں کہ ان کے زمانے میں ابو یزید الخارجی اپنے گدھے پر نکلے، «شیخ المؤمنین» کا لقب اختیار کیا، اور فاس کے سوا سارا مغرب ان کے قبضے میں آ گیا، اور انہوں نے باجہ کو لوٹا اور جلا دیا۔ {cite:tarikh-ibn-khaldun-ibar p. 926}"
    },
    {
     "heading": "محققین کے لیے نوٹس",
     "markdown": "- تمام ماخذ سنی ہیں اور فاطمی نہیں؛ ڈیٹا میں کوئی فاطمی ماخذ موجود نہیں: اس کے لیے اضافی ماخذ درکار ہے۔"
    }
   ],
   "frontmatter": {
    "id": "person/al-qaim-fatimid",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-19"
  }
 },
 "degree": 2,
 "contemporaries": [],
 "updated": "2026-10-23",
 "connections": [
  {
   "to": "event/abu-yazid-siege-mahdiyya-333",
   "type": "participated_in",
   "inverse": false,
   "role": "المحصور في المهدية",
   "sources": [
    "source/kamil-ibn-al-athir"
   ]
  }
 ],
 "related": [
  "person/abu-yazid-makhlad",
  "person/ziri-ibn-manad",
  "event/abu-yazid-siege-mahdiyya-333"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}