# Fame.am profile — machine-readable export
# Canonical URL: https://fame.am/person/muhammad-ibn-al-hanafiyyah
# Generated: 2026-08-15T00:57:04.657Z

schema: https://schema.org/Person
url: "https://fame.am/person/muhammad-ibn-al-hanafiyyah"
name: "Muhammad ibn al-Hanafiyyah"
slug: "muhammad-ibn-al-hanafiyyah"
description: "Muhammad ibn al-Hanafiyya was a son of Ali ibn Abi Talib, who was the fourth caliph in Sunni Islam and the first imam in Shia Islam. Ibn al-Hanafiyya was an effective lieutenant for his father Ali during his caliphate. After the assassination of Ali and the deaths of his two sons Hasan and Husayn, many recognized Ibn al-Hanafiyya as the head of the House of Ali. Claiming to represent Ibn al-Hanafiyya, Mukhtar al-Thaqafi rose in Iraq in 686 to avenge Husayn and his relatives, who were massacred in 680 CE by forces of the Umayyad caliph Yazid bin Mu'awiya. The quiescent Ibn al-Hanafiyya did not actively associate with this rebellion but was still rescued by Mukhtar when he was detained by the rival caliph Abd Allah ibn al-Zubayr. Support for Ibn al-Hanafiyya continued even after the defeat and death of Mukhtar in 686–687 in the form of the Kaysanites, a now-extinct Shia sect that traced the imamate to Ibn al-Hanafiyya and his descendants, particularly his son Abu Hashim. After the death of Ibn al-Hanafiyya in 700–701, some Kaysanites declared that he was the Mahdi, the eschatological Islamic leader who would reappear in the end of time and eradicate injustice and evil. The Kaysanites later provided the organizational structure for the Abbasids to overthrew the Umayyads in 750."
tagline: "Alid political and religious leader (c.637-700)"
image: "https://commons.wikimedia.org/wiki/Special:FilePath/%D9%85%D8%AD%D9%85%D8%AF_%D8%A8%D9%86_%D8%A7%D9%84%D8%AD%D9%86%D9%81%D9%8A%D8%A9.png?width=1200"
gender: "male"
birthDate: "637"
deathDate: "0700-02-25"
livingStatus: "DECEASED"
scores:
  popularity:           58.36
  momentum:             35
  historical:           21.23043733333333
  currentAttention:     0
  sourceConfidence:     60
  profileCompleteness:  40
  trendDirection:       "BREAKOUT"
ranks:
  global:   null
  country:  null
  category: null
sources:
  - url: "https://en.wikipedia.org/wiki/Muhammad_ibn_al-Hanafiyya"
    title: "Muhammad ibn al-Hanafiyyah"
    type:  "WIKIPEDIA"
  - url: "https://ar.wikipedia.org/wiki/%D9%85%D8%AD%D9%85%D8%AF_%D8%A8%D9%86_%D8%A7%D9%84%D8%AD%D9%86%D9%81%D9%8A%D8%A9"
    title: "محمد بن الحنفية"
    type:  "WIKIPEDIA"
  - url: "https://azb.wikipedia.org/wiki/%D9%85%D8%AD%D9%85%D8%AF_%D8%AD%D9%86%D9%81%DB%8C%D9%87"
    title: "محمد حنفیه"
    type:  "WIKIPEDIA"
  - url: "https://az.wikipedia.org/wiki/M%C9%99h%C9%99mm%C9%99d_ibn_%C9%99l-H%C9%99n%C9%99fiyy%C9%99"
    title: "Məhəmməd ibn əl-Hənəfiyyə"
    type:  "WIKIPEDIA"
  - url: "https://bn.wikipedia.org/wiki/%E0%A6%AE%E0%A7%81%E0%A6%B9%E0%A6%BE%E0%A6%AE%E0%A7%8D%E0%A6%AE%E0%A6%A6_%E0%A6%87%E0%A6%AC%E0%A6%A8%E0%A7%87_%E0%A6%86%E0%A6%B2_%E0%A6%B9%E0%A6%BE%E0%A6%A8%E0%A6%BE%E0%A6%AB%E0%A6%BF%E0%A6%AF%E0%A6%BC%E0%A6%BE%E0%A6%B9"
    title: "মুহাম্মদ ইবনে আল হানাফিয়াহ"
    type:  "WIKIPEDIA"
  - url: "https://ca.wikipedia.org/wiki/Muh%C3%A0mmad_ibn_al-Hanafiyya"
    title: "Muhàmmad ibn al-Hanafiyya"
    type:  "WIKIPEDIA"
  - url: "https://ckb.wikipedia.org/wiki/%D9%85%D8%AD%DB%95%D9%85%D9%85%DB%95%D8%AF_%DA%A9%D9%88%DA%95%DB%8C_%D8%AD%DB%95%D9%86%DB%95%D9%81%DB%8C"
    title: "محەممەد کوڕی حەنەفی"
    type:  "WIKIPEDIA"
  - url: "https://de.wikipedia.org/wiki/Muhammad_ibn_al-Hanaf%C4%ABya"
    title: "Muhammad ibn al-Hanafīya"
    type:  "WIKIPEDIA"
  - url: "https://diq.wikipedia.org/wiki/M%C4%B1hemmed_bin_Hanefiyye"
    title: "Mıhemmed bin Hanefiyye"
    type:  "WIKIPEDIA"
  - url: "https://es.wikipedia.org/wiki/Muh%C3%A1mmad_ibn_al-Hanaf%C3%ADyyah"
    title: "Muhámmad ibn al-Hanafíyyah"
    type:  "WIKIPEDIA"
  - url: "https://fa.wikipedia.org/wiki/%D9%85%D8%AD%D9%85%D8%AF_%D8%AD%D9%86%D9%81%DB%8C%D9%87"
    title: "محمد حنفیه"
    type:  "WIKIPEDIA"
  - url: "https://fr.wikipedia.org/wiki/Muhammad_ibn_al-Hanafiya"
    title: "Muhammad ibn al-Hanafiya"
    type:  "WIKIPEDIA"
  - url: "https://he.wikipedia.org/wiki/%D7%9E%D7%95%D7%97%D7%9E%D7%93_%D7%90%D7%91%D7%9F_%D7%90%D7%9C-%D7%97%D7%A0%D7%A4%D7%99%D7%94"
    title: "מוחמד אבן אל-חנפיה"
    type:  "WIKIPEDIA"
  - url: "https://id.wikipedia.org/wiki/Muhammad_bin_al-Hanafiyah"
    title: "Muhammad bin al-Hanafiyah"
    type:  "WIKIPEDIA"
  - url: "https://it.wikipedia.org/wiki/Muhammad_ibn_al-Hanafiyya"
    title: "Muhammad ibn al-Hanafiyya"
    type:  "WIKIPEDIA"
  - url: "https://ja.wikipedia.org/wiki/%E3%82%A4%E3%83%96%E3%83%B3%E3%83%BB%E3%83%8F%E3%83%8A%E3%83%95%E3%82%A3%E3%83%BC%E3%83%A4"
    title: "イブン・ハナフィーヤ"
    type:  "WIKIPEDIA"
  - url: "https://pl.wikipedia.org/wiki/Muhammad_ibn_al-Hanafijja"
    title: "Muhammad ibn al-Hanafijja"
    type:  "WIKIPEDIA"
  - url: "https://pnb.wikipedia.org/wiki/%D9%85%D8%AD%D9%85%D8%AF_%D8%AD%D9%86%D9%81%DB%8C%DB%81"
    title: "محمد حنفیہ"
    type:  "WIKIPEDIA"
  - url: "https://pt.wikipedia.org/wiki/Maom%C3%A9_ibne_Alanafia"
    title: "Maomé ibne Alanafia"
    type:  "WIKIPEDIA"
  - url: "https://ru.wikipedia.org/wiki/%D0%9C%D1%83%D1%85%D0%B0%D0%BC%D0%BC%D0%B0%D0%B4_%D0%B8%D0%B1%D0%BD_%D0%B0%D0%BB%D1%8C-%D0%A5%D0%B0%D0%BD%D0%B0%D1%84%D0%B8%D1%8F"
    title: "Мухаммад ибн аль-Ханафия"
    type:  "WIKIPEDIA"
  - url: "https://so.wikipedia.org/wiki/Muxamad_ibni_Xanafiya"
    title: "Muxamad ibni Xanafiya"
    type:  "WIKIPEDIA"
  - url: "https://sv.wikipedia.org/wiki/Muhammad_ibn_al-Hanafiya"
    title: "Muhammad ibn al-Hanafiya"
    type:  "WIKIPEDIA"
  - url: "https://th.wikipedia.org/wiki/%E0%B8%A1%E0%B8%B8%E0%B8%AE%E0%B8%B1%E0%B8%A1%E0%B8%A1%E0%B8%B1%E0%B8%94_%E0%B8%AD%E0%B8%B4%E0%B8%9A%E0%B8%99%E0%B9%8C_%E0%B8%AD%E0%B8%B1%E0%B8%A5%E0%B8%AE%E0%B8%B0%E0%B8%99%E0%B8%B0%E0%B8%9F%E0%B8%B5%E0%B8%A2%E0%B8%B0%E0%B8%AE%E0%B9%8C"
    title: "มุฮัมมัด อิบน์ อัลฮะนะฟียะฮ์"
    type:  "WIKIPEDIA"
  - url: "https://tr.wikipedia.org/wiki/Muhammed_bin_Hanefiyye"
    title: "Muhammed bin Hanefiyye"
    type:  "WIKIPEDIA"
  - url: "https://ur.wikipedia.org/wiki/%D9%85%D8%AD%D9%85%D8%AF_%D8%A8%D9%86_%D8%AD%D9%86%D9%81%DB%8C%DB%81"
    title: "محمد بن حنفیہ"
    type:  "WIKIPEDIA"
  - url: "https://www.wikidata.org/wiki/Q939884"
    title: "Wikidata"
    type:  "WIKIDATA"

# bio (long form, separated for readability)
bio: |
  Imported from discovery source: wikidata-dump