{
 "id": "person/ubayd-allah-al-mahdi",
 "class": "person",
 "slug": "ubayd-allah-al-mahdi",
 "label": {
  "ar": "عبيد الله المهدي"
 },
 "summary": {
  "ar": "جد بني عبيد خلفاء المصريين، ظهرت دعوته باليمن سنة سبعين وأقام على ذلك إلى سنة ثمان وسبعين فحج تلك السنة واجتمع بقبيلة من كتامة فأعجبهم حاله فصحبهم إلى المغرب فكان ذلك أول شأن المهدي {cite:tarikh-khulafa-minhaj-1434 p. 568}، ومات في أيام الراضي وكانت أيامه خمساً وعشرين سنة وهو جد خلفاء المصريين الذين يسمونهم الجهلة بالفاطميين، وقام بالأمر بعده ابنه القائم بأمر الله {cite:tarikh-khulafa-minhaj-1434 p. 603}.، وفي حكاية ابن رزام عند ابن النديم أنه سعيد بن الحسين بن عبد الله بن ميمون وكان الحسين مات في حياة أبيه ولم يزل عبد الله وولده بعد خروجهم من البصرة يدعون أنهم من ولد عقيل وكانوا قد أحكموا النسب بالبصرة، ثم خرج إلى مصر فادعى أنه علوي فاطمي وتسمى بعبيد الله وعاشر النواصي ووجوه أصحاب السلطان وتخوض في الأموال وبلغ خبره المعتضد فكتب في القبض عليه فهرب إلى المغرب وقد كانت دعاته هناك قد غلبت على طائفتين من البربر فوطأ لنفسه ذلك البلد {cite:fihrist-ibn-al-nadim p. 265}، وعند ابن الأثير اختلف العلماء في صحة نسبه فقيل هو محمد بن عبد الله بن ميمون بن محمد بن إسماعيل بن جعفر بن محمد بن علي بن الحسين بن علي بن أبي طالب وقيل هو عبيد الله بن أحمد بن إسماعيل الثاني، ونسبه من ينسبه إلى عبد الله بن ميمون القداح الذي تُنسب إليه القداحية {cite:kamil-ibn-al-athir p. 19}، وعند ابن خلدون وهاجر بعد موت أبيه محمد الحبيب في زي التجار فطلبه المكتفي ومر بمصر وعلىها عيسى النوشري فاعتذر له عن المؤاكلة بالصوم ثم أمتحته فلم تشهد له أحواله بشيء حتى دل عليه سؤال ابنه أبي القاسم عن كلب صيد ضاع له فعلم أن هذه الدالة في طلب الضائع منافية للرقبة والخوف فخلى سبيله، ثم سار إلى سجلماسة وبها إليشع بن مدرار فأكرمه ثم جاءه كتاب زيادة الله فحبسه حتى لما ملك أبو عبد الله الشيعي أفريقية سار إليه فأخرجه وابنه أبا القاسم وأركبهما ومشى مع رؤساء القبائل بين يديهما وهو يقول هذا مولاكم ويبكي من شدة الفرح، واستولى على ملك بني الأغلب بإفريقية وتلقب بالمهدي أمير المؤمنين {cite:tarikh-ibn-khaldun-ibar p. 802-803}",
  "en": "Forefather of the Ubaydid caliphs of Egypt; his da'wa appeared in Yemen in 270 and held till 278, when he hajj'd and met a band of Kutama — they liked his state, he went with them to the Maghreb, the Mahdi's first affair {cite:tarikh-khulafa-minhaj-1434 p. 568}."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [],
 "periods": [
  "period/abbasid-early"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "data": {
  "gender": "male",
  "provenance": {
   "layer": "own-research",
   "source": "تاريخ الخلفاء للسيوطي (ط المنهاج 1434هـ/2013م) ص 561–569",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "run": "lib-tarikh-khulafa-batch-31"
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar",
   "source/kamil-ibn-al-athir",
   "source/fihrist-ibn-al-nadim",
   "source/tarikh-khulafa-minhaj-1434"
  ],
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Devin (SWE-2 High)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "عبيد الله المهدي جد بني عبيد خلفاء المصريين. يذكر السيوطي أن دعوته ظهرت باليمن سنة 270هـ، وأنه حج سنة 278هـ فاجتمع بقبيلة من كتامة فصحبهم إلى المغرب، فكان ذلك أول شأن المهدي. {cite:tarikh-khulafa-minhaj-1434 p.568}\n\nويذكر أنه مات في أيام الراضي، وأن أيامه كانت خمساً وعشرين سنة، وأن ابنه القائم بأمر الله قام بالأمر بعده. {cite:tarikh-khulafa-minhaj-1434 p.603}"
    },
    {
     "heading": "اختلاف الروايات في نسبه",
     "markdown": "تختلف المصادر في نسبه، وهذه المسألة خلافية، وتُعرض هنا مع نسبة كل قول إلى قائله.\n\nيروي ابن النديم حكاية ابن رزام أنه سعيد بن الحسين بن عبد الله بن ميمون، وأنه ادعى أنه علوي فاطمي في مصر، فكتب المعتضد في القبض عليه فهرب إلى المغرب. {cite:fihrist-ibn-al-nadim p.265}\n\nويذكر ابن الأثير أن العلماء اختلفوا في صحة نسبه، فقيل هو محمد بن عبد الله بن ميمون بن محمد بن إسماعيل بن جعفر، وقيل هو عبيد الله بن أحمد بن إسماعيل الثاني. وينسبه بعضهم إلى عبد الله بن ميمون القداح. {cite:kamil-ibn-al-athir p.19}\n\nما لم يُذكر هنا: وجهة النظر الأكاديمية وروايات المصادر الإسماعيلية. يحتاج إلى مصدر إضافي."
    },
    {
     "heading": "الهجرة إلى المغرب",
     "markdown": "يروي ابن خلدون أنه هاجر بعد موت أبيه في زي التجار، فطلبه المكتفي، ومر بمصر ثم سار إلى سجلماسة فأكرمه صاحبها إليشع بن مدرار. ثم حبسه حين جاءه كتاب زيادة الله. {cite:tarikh-ibn-khaldun-ibar p.802-803}\n\nويذكر أن أبا عبد الله الشيعي لما ملك أفريقية أخرجه وابنه أبا القاسم، واستولى على ملك بني الأغلب، وتلقب بالمهدي أمير المؤمنين. {cite:tarikh-ibn-khaldun-ibar p.802-803}"
    }
   ],
   "frontmatter": {
    "id": "person/ubayd-allah-al-mahdi",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   }
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Ubayd Allah al-Mahdi, ancestor of the Banu Ubayd, the caliphs of the Egyptians. al-Suyuti reports that his mission appeared in Yemen in the year 270 AH, and that he performed the pilgrimage in the year 278 AH, where he met a tribe of Kutama and went with them to the Maghrib. That was the beginning of al-Mahdi's affair {cite:tarikh-khulafa-minhaj-1434 p.568}.\n\nHe reports that he died in the days of al-Radi, that his days were twenty-five years, and that his son al-Qa'im bi-Amr Allah took up the affair after him {cite:tarikh-khulafa-minhaj-1434 p.603}."
    },
    {
     "heading": "Disagreement over his lineage",
     "markdown": "The sources differ on his lineage, and this question is disputed. It is presented here with each view attributed to the one who held it.\n\nIbn al-Nadim transmits the account of Ibn Razam, that he was Sa'id ibn al-Husayn ibn Abd Allah ibn Maymun, and that he claimed to be an Alid Fatimid in Egypt. al-Mu'tadid wrote to have him arrested, and he fled to the Maghrib {cite:fihrist-ibn-al-nadim p.265}.\n\nIbn al-Athir reports that the scholars differed on the validity of his lineage. It was said that he was Muhammad ibn Abd Allah ibn Maymun ibn Muhammad ibn Isma'il ibn Ja'far, and it was said that he was Ubayd Allah ibn Ahmad ibn Isma'il the second. Some attribute him to Abd Allah ibn Maymun al-Qaddah {cite:kamil-ibn-al-athir p.19}.\n\nWhat is not covered here: the academic view and the reports of the Isma'ili sources. The entry needs an additional source."
    },
    {
     "heading": "His migration to the Maghrib",
     "markdown": "Ibn Khaldun reports that after his father's death he migrated in the dress of merchants. al-Muktafi sought him. He passed through Egypt and then went to Sijilmasa, where its lord Ilyasa' ibn Midrar honoured him. Then he imprisoned him when the letter of Ziyadat Allah came {cite:tarikh-ibn-khaldun-ibar p.802-803}.\n\nIbn Khaldun also reports that when Abu Abd Allah al-Shi'i took Ifriqiya, he drove him out with his son Abu al-Qasim, took the rule of the Aghlabids, and called himself al-Mahdi Amir al-Mu'minin {cite:tarikh-ibn-khaldun-ibar p.802-803}."
    }
   ],
   "frontmatter": {
    "id": "person/ubayd-allah-al-mahdi",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   }
  }
 },
 "degree": 6,
 "contemporaries": [],
 "connections": [
  {
   "to": "event/abu-abd-allah-shii-maghreb-288",
   "type": "participated_in",
   "inverse": false,
   "role": "المهدي",
   "sources": [
    "source/tarikh-khulafa-minhaj-1434"
   ]
  },
  {
   "to": "event/death-of-ubayd-allah-al-mahdi",
   "type": "participated_in",
   "inverse": false,
   "role": "المتوفى",
   "sources": [
    "source/tarikh-khulafa-minhaj-1434"
   ]
  },
  {
   "to": "event/fatimid-mahdi-maghreb",
   "type": "participated_in",
   "inverse": false,
   "role": "المهدي",
   "sources": [
    "source/tarikh-khulafa-minhaj-1434"
   ]
  }
 ],
 "related": [
  "person/abu-abd-allah-al-shii",
  "person/ziyadat-allah-iii",
  "event/abu-abd-allah-shii-maghreb-288",
  "event/death-of-ubayd-allah-al-mahdi",
  "event/fatimid-mahdi-maghreb"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}