Qa'im Al Muhammad

In Shia Islam, Qāʾim Āl Muḥammad (قائم آل محمد) is an epithet for the Mahdi, the eschatological figure in Islam who is widely believed to restore the religion and justice in the end of time. The term was used as early as the eighth century to refer to a future member of the family of the Islamic prophet Muḥammad who would rise against tyranny in the end of time and restore justice. This term was already common by the end of the Umayyad caliphate and largely replaced the term Mahdi in Shia literature. The term was often qualified as al-Qa'im bi 'l-sayf (lit. 'the one who shall rise with the sword') or al-Qa'im bi-amr Allah (lit. 'the one who shall rise by the order of God').

Twelver Shia
Twelver eschatology is dominated by the figure of the twelfth Imam, Muhammad ibn Hasan al-Askari, the son of the eleventh Imam. The twelfth Imam is also known by the titles al-Mahdi (lit. 'the rightly guided'), al-Qa'im (lit. 'he who will rise'), and Saheb al-Zaman (lit. 'lord of the age'). It is believed that he was born around 868, and has been concealed by God from the humanity after the death of his father in 874, who was possibly poisoned by the Abbasids.

During the Minor Occultation (874–941), it is held that the twelfth Imam remained in contact with his followers through Four Deputies. During the Major Occultation (941-present), his life has been prolonged by divine will until the day he manifests himself again by God's permission to fill the earth with justice. In particular, there is no direct communication during the Major Occultation, though it is popularly held that the twelfth Imam occasionally appears to the pious in person or, more commonly, in dreams and visions. He is also viewed responsible in Twelver belief for the inward spiritual guidance of humankind (whereas his outward role begins with his reappearance).

Identification with the Mahdi
As early as the Minor Occultation (874–941), or possibly much earlier, Twelver sources identify the twelfth Imam with the messianic figure of Mahdi in Islam, though he is often referred to as al-Qa'im and less frequently as al-Mahdi. Al-Nu'mani, for instance, lived during the Minor Occultation and preferred the title al-Qa'im to al-Mahdi in his writings or joined the two as "al-Qa'im al-Mahdi." There is also a tradition ascribed to Ja'far al-Sadiq, the sixth Imam, which explicitly identifies the promised al-Mahdi with al-Qa'im, which might indicate some confusion among the Shia about this.

Significance
is also often contrasted with (lit. 'sitting'), in reference to those Imams who remained politically quiescent, especially the sixth Imam and his successors. At the same time, some traditions emphasize that every imam is the of his own age.

Sachedina notes that the titles al-Qa'im has more of a political emphasis than the eschatological title al-Mahdi. More specifically, the title al-Qa'im signifies the rise of the twelfth Imam against tyranny, though a (lit. 'alone') hadith from Ja'far al-Sadiq connects this title to the rise of al-Qa'im after his death. As a hadith, this report is not viewed as reliable by experts, writes Majlesi, especially because it contradicts the Twelver belief that the earth cannot be void of Imam at any time, as the  (lit. 'proof of God'). Majlesi instead suggests that death is meant figuratively in this hadith, referring to the forgotten memory of al-Qa'im after his long occultation.

Isma'ilism
One of the titles of the Ismaili Imam is , conveying that it is the Imam who ushers in the resurrection. According to Nasir Khusraw, a senior dignitary of the Fatimid Ismaili Imams, the line of Imams from among Ali's descendants though Husayn will eventually culminate in the arrival of the Lord of the Resurrection. This individual is believed to be the perfect being and the purpose of creation, and through him the world will come out of darkness and ignorance and "into the light of her Lord" (Quran 39:69). His era, unlike that of the enunciators of divine revelation who came before him, is not one where God prescribes the people to work, rather, his is an era of reward for those "who laboured in fulfilment of (the prophets') command and with knowledge." Preceding the Lord of the Resurrection is his proof. The Quranic verse stating that "the night of power is better than a thousand months" (Quran 97:3) is said to refer to him, whose knowledge is superior to that of a thousand Imams, though their rank, collectively, is one. Nasir Khusraw also recognizes the successors of the Lord of the Resurrection to be his deputies.

People claiming to be the Qa'im

 * al-Saffah (d. 754), Abbasid Caliph who is known today as Saffah but the truth that al Saffah title was given to his uncle but his title according to Ibn al Kathīr and ibn al Athīr was al Qaim, He claimed to be al Qaim who will avenge the death of Imam Ali, Imam Hussein, Zayd ibn Ali ibn al Hussein and Yahiya ibn Zayd, and according to the 8th-9th cetury book Akhbar al Abbas wa Wildihi by unknown author Muhammad ibn Ali ibn Abdallah the father of caliph said about him : this is the lord of Bani Hashem al Qaim al Mahdi not the son of Abd Allah al-Mahd ibn al Hassan.
 * Báb (1819-1850), Husseini Syed, He claimed to be prophet, Qaim and the physical manifestion of Twelfth Imam in 1844 and went to Mecca to proclaim himself as Mahdi and Qaim and from there promised his devotees of Shia to gather them in Karbala and Najaf in 10th of Muharram, Saturday, 1845 ad (1261 Islamic Hijri calendar) which means 1000 years after death of Imam Hasan al-Askari and the occultation of Twelfth Imam to begin the holy war but he changed the plan (Bada'), He has fullfilled many prophecies about Qaim then He was imprisoned in Iran after return from Mecca by Qajars and excuted in year 1850 but his movement the Babism is still alive today and have two sects Azali and Baha'i Faith they believe that what happened to him was similar to what happened to Jesus in Adam's Cycle and that Muslims and Shias were similar to Jews and He is al Qaim al Mahdi, the true and physical Twelfth Imam.
 * Ahmad al-Hassan (21 March 1968), an Iraqi Twelver Shia preacher, He claimed to be al Yamani, descendant of Twelfth Imam and 1st Mahdi then in 2008, 10th of Muharram, Saturday, He proclaimed Zuhur and started a battle in Basara but He disappeared and later, the largest sect of Ansar, the White banners claimed that He appeared from first occultion in 2015 and He is Qaim āl Muhammad not al Mahdi (Twelfth Imam) and that He is the savior of mankind, they claimed that He has an official page of Facebook which have 1 million Followers worldwide espacialy in Iraq.
 * Abdullah Hashem (27 July 1983), an Egyptian-American Shia Muslim who is a disciple of Ahmed al-Hassan al-Yamani, announced himself as the Qa'im in 2015 and founded the Ahmadi Religion of Peace and Light (AROPL).