The Alid revolt of 762763 or Revolt of Muhammad the Pure Soul was an uprising by the Hasanid branch of the Alids against the newly established Abbasid Caliphate. The Hasanids, led by the brothers Muhammad (called "the Pure Soul") and Ibrahim, rejected the legitimacy of the Abbasid family's claim to power. Reacting to mounting persecution by the Abbasid regime, in 762 they launched a rebellion, with Muhammad rising in revolt at Medina in September and Ibrahim following in Basra in November.
The Hasanid's lack of co-ordination and organization, as well as the lukewarm support of their followers, allowed the Abbasids under Caliph al-Mansur to react swiftly. The Caliph contained Muhammad's rebellion in the Hejaz and crushed it only two weeks after Ibrahim's uprising, before turning his forces against the latter. Ibrahim's rebellion had achieved some initial successes in southern Iraq, but his camp was torn by dissent among rival Shi'a groups as to the prosecution of the war and future political objectives. In the end, Ibrahim's army was decisively defeated at Bakhamra in January 763, with Ibrahim dying of his wounds shortly after.
The failure of the rebellion did not mark the end of Alid unrest, but it consolidated the power of the Abbasid dynasty.
Muḥammad ibn ʿAbd Allāh ibn al-Ḥasan al-Muthannā ibn al-Ḥasan al-Mujtaba ibn 'Ali ibn Abi Talib or Muhammad al-Nafs al-Zakiyya (Arabic: محمد بن عبد الله بن الحسن بن الحسن بن علي الملقَّب النفس الزكية, lit. 'The Pure Soul'), was a descendant of the Islamic prophet Muhammad, through his daughter Fatimah. Known for his commanding oratory skills, amiable demeanor, and impressive build, he led the Alid Revolt in Medina, a failed rebellion, against the second Abbasid caliph Al-Mansur. He and a few hundred soldiers faced against a large Abbasid force under Isa ibn Musa, and he was killed on December 6, 762 CE (145 AH).