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 statusThe Mahdi (Arabic: ٱلْمَهْدِیّ: al-mahdīy, 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, meaning "the Day of Resurrection") and rid the world of evil.
Early discussions about the identity of al-Mahdi by religious scholars can be traced back to the time after the Second Fitna. These discussions developed in different directions and were influenced by traditions (hadiths) attributed to Muhammad. In Umayyad times, scholars and traditionists not only differed on which caliph or rebel leader should be designated as Mahdi, but also on whether the Mahdi is a messianic figure and if signs and predictions of his time have been satisfied. By the time of the Abbasid Revolution in the year 750, Mahdi was already a known concept. Evidence shows that the first Abbasid caliph As-Saffah assumed the title of "the Mahdi" for himself.دانلود برنامه Red Gate برای دسترسی به سورس برنامهها