Al-Qāʾim (Arabic: القائم "He Who Arises") is a messiah-like figure in Shia Islam, sometimes referred to as the Mahdi, but distinctly of a Shiʿa tradition. Believers in Babism and the Bahá'í Faith both consider the Báb (1819-1850) to have been the Qāʾim.
The Mahdi (Arabic: ٱلْـمَـهْـدِي, ISO 233: al-mahdī, meaning "the guided one") is an eschatological redeemer of Islam who, according to some Islamic traditions, will appear and rule for five, seven, nine or nineteen years (according to differing interpretations) before the Day of Judgment (yawm al-qiyamah, also known as "the Day of Resurrection") and rid the world of evil.There is no direct reference to the Mahdi in the Quran, only in the hadith (the reports and traditions of Muhammad's teachings collected after his death). In most traditions, the Mahdi will arrive with 'Isa (Jesus) to defeat Al-Masih ad-Dajjal ("the false Messiah", or Antichrist). Although the concept of a Mahdi is not an essential doctrine in Sunni Islam, it is popular among both Sunni and Shia Muslims. Both agree that he will rule over Muslims and establish justice; however, they differ extensively on his attributes and status.
Throughout history, various individuals have claimed to be the Mahdi. These have included Muhammad Jaunpuri, founder of the Mahdavia sect; the Báb (Siyyid Ali Muhammad), founder of Bábism; Muhammad Ahmad, who established the Mahdist State in Sudan in the late 19th century; Mirza Ghulam Ahmad, founder of the Ahmadiyya movement; and Riaz Ahmed Gohar Shahi.
Shi'ites have alternate views on which descendant of the Islamic Nabi (Prophet) Muhammad is the Mahdi. Twelvers, who form the majority of Shi'ites today, believe that Muhammad ibn Al-Hasan al-Askari is the current occulted Imam and Mahdi. Tayyibi Isma'ili Shi'ites, including the Dawoodi Bohrah, believe that At-Tayyib Abu'l-Qasim is the current occulted Imam and Mahdi.Signs of the reappearance of Muhammad al-Mahdi
The signs of the reappearance of Muhammad al-Mahdi are the collection of events that will occur before the coming back of Muhammad al-Mahdi, an ultimate savior of humankind and the final Imam of the Twelve Imams in Shia Islam. The signs are classified as uncertain or certain signs.
The Certain Signs:
According to some Shia narrations, there are five certain signs that will occur prior of the reappearance of the twelfth Imam. The hadith of Ja'far al-Sadiq mentions these signs: "there are five signs for our Dhuhur (the reappearance of the twelfth Imam), the appearance of
Sufyani and Yamani, the loud cry in the sky, the murder of a pure soul (Nafs-e-Zakiyyah ), and the earth swallowing (a group of people) in the land of Beyza (Iran).