Abd Allah ibn Muhammad ibn al-Hanafiyya

ʿAbd Allāh ibn Muḥammad ibn al-Ḥanafiyya (Arabic: عبد الله بن محمد بن الحنفية) (died 98 AH; c. 716 CE),[1] also known as Abū Hāshim was a member of the Banu Hashim clan of the Quraish tribe in Mecca.

After Muhammad ibn al-Hanafiyya died, his son Abu Hashim claimed the Imamate.

According to medieval mystic Jami, Abu Hashim was the first person to be called a "Sufi".

His son Abu al-Abbas Abd Allah al-Saffah became the first Abbasid caliph, repudiating Shi'ism, which effectively extinguished the sect that had recognized Muhammad ibn al-Hanafiyya as an Imam.

After his father's death in 700 CE, the Hashimiyya sub-sect of the Kaysanites Shia looked to Abu Hashim as the heir of his grandfather Ali.

Abu Hashim and Shia Islam