al-Qāʾim Āl Muḥammad
The title al-Qāʾim Āl Muḥammad (Arabic: قائم آل محمد, "the one who rises of the family of Muḥammad"), also al-Qāʾim bi ʾl-sayf ("the one who rises with the sword") or al-Qāʾim bi-amr Allāh ("the one who carries out the order of God"), is given to a messiah-like figure in the eschatology of Shia Islam, sometimes equated with the Mahdi. The term first came into use in the eighth century to refer to a future member of the family of Muḥammad who would rise up and defeat the wicked rulers of the age and restore justice.
According to some Imāmī ḥadīths, every imām is the qāʾim of his age (al-qāʾim ahl zamānihi). The twelfth and last imām, who is in occultation and will return, is commonly known as Muḥammad al-Qāʾim.