Others among them say that Abū Hāshim(1) appointed Bayān ibn Samān as his successor. Still others say that he appointed Alī ibn al-Husayn as his successor. These, then, are the positions of those who hold that the designation passed to Muhammad ibn al-Hanafiyya and then to Abū Hāshim.
Among the Rāfida, some said: Rather, after al-Husayn ibn Alī, the designation fell upon his son(2), Alī ibn al-Husayn, and then upon his son Abū Jafar(3). Abū Jafar appointed al-Mughīra ibn Saīd as his successor, and they follow him as their imam until the Mahdī emerges. The Mahdī—so they claimed—is Muhammad ibn Abd Allah ibn al-Hasan(4) ibn Alī ibn Abī Tālib. They claimed that he was alive and residing in the vicinity of al-Hājir(5), where he would remain until the time of his emergence.
Among the Rāfida, some say that the imam after Abū Jafar Muhammad ibn Alī was Muhammad ibn Abd Allah ibn al-Hasan(6), who launched his uprising in Medina during the caliphate of Abū Jafar al-Mansūr; his story is well known(7). They claimed that he was the Mahdī and rejected the imamate of al-Mughīra ibn Saīd.