The coming of Imam Mahdi is a significant event in Islamic eschatology. According to Islamic belief, Imam Mahdi is a righteous man from among the descendants of Prophet Muhammad who will appear at the end of times to rid the world of injustice and evil. The signs that will precede his coming are numerous and differ based on Sunni and Shia branches of Islam. Some of the signs that will precede Imam Mahdis coming are:
- Widespread corruption and the earth being filled with wrongdoing and aggression.
- The coming of fitna (tribulations) and removal of khushoo (fearfulness of God, reverence of God, etc.) .
- A person passing by a grave might say to another the following: "I wish it were my abode".
- An Arab king will die, and there will be disagreement concerning succession. Then a man will emerge from Medina. He will hurry to Mecca, and the people of Mecca will come out to him and urge him and try to force him to accept the Baiaa.
- The appearance of the Sufyani, a descendant of Abu Sufyan, who will lead people astray.
- Plagues, earthquakes, floods, wars, and death.
After Imam Mahdis reappearance, he will establish the rule of justice, and his character trait will be the worldwide maintenance of peace, security, justice, and the annihilation of the foundations of corruption, decadence, oppression, and crime. According to Islamic belief, Jesus will also return and pray behind Imam Mahdi.