The belief in Mahdi was widespread during the time of the Prophet. The Prophet (peace be upon him and his progeny) on more than one occasion had announced the future coming of the Mahdi. From time to time he would inform the people about the government of the Mahdi and the signs of his emergence, giving his name and patronymic (kunya). There are numerous hadith-reports that have come down to us from both the Sunni and the Shi’i sources on this subject. Actually some of these reports have been related so frequently, and without interruption in all ages, that nobody can doubt their authenticity. For instance, we read the following hadith reported from ‘Abd Allah b. Mas’ud, who heard the Prophet say:
The world will not come to an end until a man from my family (ahl al-bayt), who will be called al-Mahdi, emerges to rule upon my community1.
Another tradition reported by Abu al-Hujaf quotes the Prophet saying three times:
Listen to the good news about the Mahdi! He will rise at the time when people will be faced with severe conflict and the earth will be hit by a violent quake. He will fill the earth with justice and equity as it is filled with injustice and tyranny. He will fill the hearts of his followers with devotion and will spread justice everywhere2.
The Prophet has declared:
The Day of Resurrection will not take place until the True Qa’im rises. This will happen when God permits him to do so. Anyone who follows him will be saved, and anyone who opposes him will perish. O servants of God, keep God in your mind and go towards him even if it happens to be on the ice, for indeed he is the caliph of God, the Exalted and Glorified, and my successor3
In another hadith the Prophet is reported to have said: “Any one who denies al-Qa’im among my children will have denied me4.”
In still another hadith the Prophet assured his community by stating:
The world will not come to an end until a man from the descendants of Husayn takes charge of the affairs of the world and fills it with justice and equity as it is filled with injustice and tyranny