the Promised Mahdi website​​​​​​​

Audio Books

 Imam Mahdi The Promised Saviour

STUDY

Al-Imam al-Mahdi, The Just Leader of Humanity

STUDY

An Inquiry Concerning al-Mahdi

STUDY
Answer

Why do we just celebrate the beginning of Imam Mahdi’s Imamate, but we do not do it for other Imams after the martyrdom of the previous ones!? ​​​​​​​

Study

Imam al-Ṣādiq says about Imam al-Mahdi

the Promised Mahdi website​​​​​​​

   
    Mahdism in Sunni Ḥadith-Books


Due to the widely related and authentic traditions narrated from the Prophet Muhammad, all Islamic scholars are unanimous on the belief that Imam Mahdi shall indeed appear, reform the world and destroy all oppression. Hence, there is no difference of opinion in Mahdism; all Muslims have faith in it and consider it an inseparable part of their religious belief. All Shiˈa scholars, without any exception, believe that Imam Mahdi is already born and exists and lives in the present time. However, many Sunni scholars believe that he shall be born in the future, but some of them have related the event of the birth of Imam Mahdi and accepted and recorded this event in their books. A large number of Sunni scholars, including the following have mentioned the Hadiths related to Imam Mahdi in their books:

"Abd al-Razzāq Ṣanˈānī" (211 A.H./826 A.D.) in his book Al-Muṣnaf;

"Ibn Abi Shaybah" (235 A.H./849 A.D.) in Al-Muṣannaf fi al-Aḥādith va al-Ᾱthār;

"Ahmad bin Ḥanbal" (241 A.H./855 A.D.) in Musnad;

"Ibn Mājah" (273 A.H./886 A.D.) in Sunan;

 "Abū Dāwūd" (275 A.H./888 A.D.) in Sunan;

"Tirmidhī" (297 A.H./909 A.D.) in Al-Jāmiˈ al-Ṣaḥīḥ;

 "Ṭabarāni" (360 A.H./970 A.D.) in Al-Muˈjam al-Kabīr;

 "Ḥākim al-Naysābūrī" (405 A.H./1014 A.D.) in Al-Mustadrak ˈAla al-Ṣaḥīḥayn;

"Ibn al-Athīr al-Jazarī" (606 A.H./1209 A.D.) in Jāmiˈ al-Usūl fi Aḥādīth al-Rasūl;

"Muqaddasi al-Shāfi'ī" (7th century A.H./12th A.D.) in 'Iqd al-Durar fi Akhbār al-Muntaẓar;

"Ibn-e Kathīr al-Dameshqi" (774 A.H./1372 A.D.) in Al-Nahāyah fi al-Fitan va al-Malāḥim;

"Haythamī" (807 A.H./1404 A.D.) in Majmaˈ al-Zavayid va Manbaˈ al-Fawayid;

"Jalāl al-Din Suyūṭī" (911 A.H./1505 A.D.) in Al-Ḥāvī li al-Fatāvī;

 "Ibn-e Ḥajar al-Hiytami" (974 A.H./1566 A.D.) in Al-Qavl al-Mukhtaṣar fi ˈAlāmāt al-Mahdi al-Muntaẓar;

"Muttaqi al-Hindī " (975 A.H./1567 A.D.) in Al-Burhān fī 'Alāmāt Mahdi Ākhir al-Zamān, etc. 

Source: The Promised Mahdi (In the view of Shiˈa), p. 35
 
​​​​​​​
 
Al-Mahdi, the promised Caliph to lead the Ummah
By Abu Amina Elias 

Al-Mahdi (meaning “the guided one”) is a righteous leader who will appear in the last days of the Ummah, just before the descent of Jesus, peace be upon him. He will be from the prophetic lineage (Ahl al-Bayt) and will be forced to become Caliph by righteous believers in front of the Ka’bah. Allah will aid him with a miracle that will leave no doubt he is the long awaited figure.
Many leading hadith scholars, including Al-Tirmidhi, Abu Dawud, and Ibn Majah, have devoted chapters to reports about the Mahdi. Some scholars have said that the reports about him are unanimous (tawattur), confirming that this is indeed an essential prophecy in Islamic eschatology. However, like all eschatological matters of the Unseen, we need to properly contextualize the prophecy, sift the authentic narrations from the weak ones, and protect ourselves from impostors and pretenders who try to exploit it for their own gain.
The Mahdi, may Allah be pleased with him, will appear shortly before the second coming of Jesus, peace be upon him. Together they will fight against the False Messiah (al-Masiha al-Dajjal) and defeat him, which will signal the end of secular history and the beginning of an era of faith, peace, and justice on earth.
Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said:

كَيْفَ أَنْتُمْ إِذَا نَزَلَ ابْنُ مَرْيَمَ فِيكُمْ وَإِمَامُكُمْ مِنْكُمْ
How will you be when the son of Mary descends upon you while your leader is among you?
Source: Ṣaḥīḥ al-Bukhārī 3265, Grade: Muttafaqun Alayhi

Jabir ibn Abdullah reported: The Messenger of Allah, peace and blessings be upon him, said, “
يَنْزِلُ عِيسَى ابْنُ مَرْيَمَ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَيَقُولُ أَمِيرُهُمْ تَعَالَ صَلِّ لَنَا فَيَقُولُ لَا إِنَّ بَعْضَكُمْ عَلَى بَعْضٍ أُمَرَاءُ تَكْرِمَةَ اللَّهِ هَذِهِ الْأُمَّةَ
Jesus the son of Mary, peace and blessings be upon him, will descend and the Muslim leader will say: Come lead us in prayer. Jesus will say: No, some of you are leaders over others, as Allah has honored this nation.
Source: Ṣaḥīḥ Muslim 156, Grade: Sahih

One of the most prominent signs of the true Mahdi is that he will be a descendant of Prophet Muhammad, peace and blessings be upon him, through his daughter Fatimah, may Allah be pleased with her.
Abdullah ibn Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, said:
لَا تَذْهَبُ الدُّنْيَا حَتَّى يَمْلِكَ الْعَرَبَ رَجُلٌ مِنْ أَهْلِ بَيْتِي يُوَاطِئُ اسْمُهُ اسْمِي
The world will not pass away until the Arabs are ruled by a man from my household, whose name agrees with my name.
Source: Sunan al-Tirmidhī 2230, Grade: Sahih

Umm Salamah reported: The Messenger of Allah, peace and blessings be upon him, said:
الْمَهْدِيُّ مِنْ عِتْرَتِي مِنْ وَلَدِ فَاطِمَةَ
The Mahdi will be from my offspring, among the descendants of Fatimah.
Source: Sunan Abī Dāwūd 4284, Grade: Sahih

The False Messiah will gain prominence before the appearance of the Mahdi, so the earth will be filled with unbelief, idolatry, tyranny, and oppression. The Mahdi will reverse this situation with help from Allah and the righteous believers.
Abu Sa’id al-Khudri reported: The Messenger of Allah, peace and blessings be upon him, said:
الْمَهْدِيُّ مِنِّي أَجْلَى الْجَبْهَةِ أَقْنَى الْأَنْفِ يَمْلَأُ الْأَرْضَ قِسْطًا وَعَدْلًا كَمَا مُلِئَتْ جَوْرًا وَظُلْمًا يَمْلِكُ سَبْعَ سِنِينَ
The Mahdi will be from my lineage, with a curved nose. He will fill the earth with justice and equity, just as it had been filled with tyranny and oppression. He will rule for seven years.
Source: Sunan Abī Dāwūd 4285, Grade: Sahih

In another narration, the Prophet (ṣ) said:
يَخْرُجُ فِي آخِرِ أُمَّتِي الْمَهْدِيُّ يَسْقِيهِ اللَّهُ الْغَيْثَ وَتُخْرِجُ الْأَرْضُ نَبَاتَهَا وَيُعْطِي الْمَالَ صِحَاحًا وَتَكْثُرُ الْمَاشِيَةُ وَتَعْظُمُ الْأُمَّةُ يَعِيشُ سَبْعًا أَوْ ثَمَانِيًا
The Mahdi will appear in the latter part of my nation. Allah will grant him rain to bring produce from the earth. He will give out wealth appropriately, cattle will be plentiful, and the nation will become great. He will live as ruler for seven or eight years.
Source: al-Mustadrak ‘alá al-Ṣaḥīḥayn 8716, Grade: Sahih

And in another narration, the Prophet (ṣ) said:
يَكُونُ فِي آخِرِ الزَّمَانِ خَلِيفَةٌ يَقْسِمُ الْمَالَ وَلَا يَعُدُّهُ
There will be near the end of time a Caliph who will distribute wealth without counting it.
Source: Ṣaḥīḥ Muslim 2913, Grade: Sahih

The appearance of the Mahdi will be quick and unmistakable. Unlike many impostors claiming to be the Mahdi, the true Mahdi will rise to prominence in a single night and the righteous believers will agree upon his piety, leadership, and authority.
Ali ibn Abi Talib reported: The Messenger of Allah, peace and blessings be upon him, said:
الْمَهْدِيُّ مِنَّا أَهْلَ الْبَيْتِ يُصْلِحُهُ اللَّهُ فِي لَيْلَةٍ
The Mahdi is from us, the prophetic household. Allah will set right his affairs in a single night.
Source: Sunan Ibn Mājah 4085, Grade: Sahih li ghayrihi

‘Ali al-Qari commented on this tradition, writing:
يُصْلِحُ الله أَمْرَهُ وَيَرْفَعُ قَدْرَهُ فِي لَيْلَةٍ وَاحِدَةٍ أَوْ فِي سَاعَةٍ وَاحِدَةٍ مِنَ اللَّيْلِ حَيْثُ يَتَّفِقُ عَلَى خِلَافَتِهِ أَهْلُ الْحَلِّ وَالْعَقْدِ فِيهَا
Allah will set right his affairs and raise his status in one night, or in a moment of one night, such that those invested with authority will agree upon his Caliphate.
Source: Mirqāt al-Mafātīḥ 8/3439

There will be a miraculous event that will signal to believers worldwide that the true Mahdi has arrived. In a time of civil conflict following the death of a Muslim leader, many factions will vie against each other for power. The Mahdi will be recognized by some people and they will force him to become the Caliph against his will, demonstrating his humility and fear of Allah, and they will pledge allegiance to him in front of the Ka’bah in Mecca.
Following this initial pledge, an army from Syria will be dispatched to attack the Mahdi and his followers. That army will be swallowed up in the desert, a miracle akin to the parting of the sea for Moses, peace be upon him. Upon witnessing this miracle, the righteous believers of Syria, Iraq, and all throughout the Muslim world will recognize him as the true Mahdi and they will come to him to pledge their allegiance.
Umm Salamah reported: The Prophet, peace and blessings be upon him, said:
يَكُونُ اخْتِلَافٌ عِنْدَ مَوْتِ خَلِيفَةٍ فَيَخْرُجُ رَجُلٌ مِنْ أَهْلِ الْمَدِينَةِ هَارِبًا إِلَى مَكَّةَ فَيَأْتِيهِ نَاسٌ مِنْ أَهْلِ مَكَّةَ فَيُخْرِجُونَهُ وَهُوَ كَارِهٌ فَيُبَايِعُونَهُ بَيْنَ الرُّكْنِ وَالْمَقَامِ وَيُبْعَثُ إِلَيْهِ بَعْثٌ مِنْ أَهْلِ الشَّامِ فَيُخْسَفُ بِهِمْ بِالْبَيْدَاءِ بَيْنَ مَكَّةَ وَالْمَدِينَةِ فَإِذَا رَأَى النَّاسُ ذَلِكَ أَتَاهُ أَبْدَالُ الشَّامِ وَعَصَائِبُ أَهْلِ الْعِرَاقِ فَيُبَايِعُونَهُ بَيْنَ الرُّكْنِ وَالْمَقَامِ
There will be a conflict with the death of a Caliph and a man among the residents of Medina will go out fleeing to Mecca. Some people will come to pledge allegiance to him, although he is unwilling, and they will pledge allegiance to him between the corner of the Ka’bah and the station of Abraham. An army from Syria will be dispatched for him and they will be swallowed in the desert between Mecca and Medina. When the people see that, the saints of Syria and the strong tribes of Iraq will come to him and pledge allegiance to him between the corner and the station.
Source: Sunan Abī Dāwūd 4286, Grade: Hasan

Aisha reported: The Messenger of Allah, peace and blessings be upon him, said:
يَغْزُو جَيْشٌ الْكَعْبَةَ فَإِذَا كَانُوا بِبَيْدَاءَ مِنْ الْأَرْضِ يُخْسَفُ بِأَوَّلِهِمْ وَآخِرِهِمْ
An army will raid the Ka’bah but when they reach a desert land, all of them will be swallowed by the earth.
Source: Ṣaḥīḥ al-Bukhārī 2012, Grade: Muttafaqun Alayhi

Aside from this miracle, a key sign of the true Mahdi is his sincerity, humility, and fear of Allah with respect to his authority. He does not want to be the Caliph, even though he is righteous, which is exactly what makes him qualified to lead. The Sunnah is to avoid taking leadership positions unless absolutely necessary.
Abdur Rahman ibn Samurah reported: The Prophet, peace and blessings be upon him, said to him:
يَا عَبْدَ الرَّحْمَنِ بْنَ سَمُرَةَ لَا تَسْأَلْ الْإِمَارَةَ فَإِنَّكَ إِنْ أُعْطِيتَهَا عَنْ مَسْأَلَةٍ وُكِلْتَ إِلَيْهَا وَإِنْ أُعْطِيتَهَا عَنْ غَيْرِ مَسْأَلَةٍ أُعِنْتَ عَلَيْهَا
O Abdur Rahman, do not ask for authority. If it is given to you at your request, you will be held fully responsible for it. If it is given to you without your request, you will be helped by Allah in it.
Source: Ṣaḥīḥ al-Bukhārī 6727, Grade: Muttafaqun Alayhi

Hence, people who claim to be the Mahdi and ask for leadership, wealth, and other worldly gains in return are exposed as liars and impostors. The true Mahdi will not declare himself to be the Mahdi, nor will he desire to become Caliph, nor will he ask people for worldly gains. Indeed, some deviant militant groups in our time raise black flags, an alleged sign of the Mahdi which is based on weak hadith, demanding by threat of violence that we pledge allegiance to them.
Many charlatans have appeared in the Ummah claiming to be the Mahdi, or the incarnation of Jesus, or another such saintly figure. The Prophet (ṣ) warned us about these impostors, especially their increased prominence near the end of time.
Thawban reported: The Messenger of Allah, peace and blessings be upon him, said:
إِنَّهُ سَيَكُونُ فِي أُمَّتِي ثَلَاثُونَ كَذَّابُونَ كُلُّهُمْ يَزْعُمُ أَنَّهُ نَبِيٌّ وَأَنَا خَاتَمُ النَّبِيِّينَ لَا نَبِيَّ بَعْدِي
Verily, there will be thirty liars among my nation, all of them claiming to be a prophet, but I am the seal of the prophets. There is no prophet after me.
Source: Sunan al-Tirmidhī 2219, Grade: Sahih

Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said:
يَكُونُ فِي آخِرِ الزَّمَانِ دَجَّالُونَ كَذَّابُونَ يَأْتُونَكُمْ مِنْ الْأَحَادِيثِ بِمَا لَمْ تَسْمَعُوا أَنْتُمْ وَلَا آبَاؤُكُمْ فَإِيَّاكُمْ وَإِيَّاهُمْ لَا يُضِلُّونَكُمْ وَلَا يَفْتِنُونَكُمْ
There will be impostors near the end of time, liars who will bring narrations you have never heard, neither you nor your fathers. Beware, lest they misguide you and afflict you with trials.
Source: Ṣaḥīḥ Muslim 7, Grade: Sahih

Ibn Umar reported: The Prophet, peace and blessings be upon him, said:
يَخْرُجُ فِي آخِرِ الزَّمَانِ رِجَالٌ يَخْتِلُونَ الدُّنْيَا بِالدِّينِ يَلْبَسُونَ لِلنَّاسِ جُلُودَ الضَّأْنِ مِنْ اللِّينِ أَلْسِنَتُهُمْ أَحْلَى مِنْ السُّكَّرِ وَقُلُوبُهُمْ قُلُوبُ الذِّئَابِ
Men will appear near the end of time who deceive the world with religion, confusing the people. Their skin is as soft as sheep, their words are sweeter than sugar, yet their hearts like the hearts of wolves.
Source: Sunan al-Tirmidhī 2404, Grade: Hasan

Thus, anyone claiming to be the Mahdi should be met with deep skepticism, as the true Mahdi will be made known not by his claims but by the miracle supporting him and the gathering of righteous believers around him in Mecca from all over the Muslim world.
Lastly, it is important to understand that the prophecy of the Mahdi is not an excuse to do nothing, neglect our communities, or maintain a defeatist attitude, merely waiting for the Mahdi or Jesus, peace be upon them both.
Shaykh al-Albani said:
لا يجوز للمسلمين أن يتركوا العمل للإسلام وإقامة دولته على وجه الأرض انتظاراً منهم لخروج المهدي ونزول عيسى عليهما السلام يأساً منهم أو توهماً أن ذلك غير ممكن قبلهما
It is not permissible for Muslims to abandon working for Islam and the establishment of its state on the face of the earth, waiting for the appearance of the Mahdi and the descent of Jesus, peace be upon them both, feeling despair and imagining that is not possible before them. This notion is false.
Source: Fiqh Ashrāṭ al-Sā’ah 311

In sum, the Prophet (ṣ) told us in several narrations about the Mahdi, his signs, and what to expect near the end of time. The purpose is to prepare us for these massive world-changing events when they occur, as well as to protect us from false prophets and impostors who exploit religion for their own selfish purposes.
Moreover, we should not become apathetic in doing good works by waiting for the Mahdi. Rather, we need to continue to build up our own faith and communities so that, when the time comes, we will respond appropriately. Upon seeing the Mahdi, the believers will need to lend him and his followers their full support, even if that means emigrating to him. If it happened tomorrow, would you be ready for it?


A few narrations of Prophet Muhammad about Imam Mahdi in Sunnite sources
 
1.     حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَحْمَدُ بْنُ عَبْدِ الْمَلِكِ، حَدَّثَنَا أَبُو الْمَلِيحِ الرَّقِّيُّ، عَنْ زِيَادِ بْنِ بَيَانٍ، عَنْ عَلِيِّ بْنِ نُفَيْلٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، قَالَ كُنَّا عِنْدَ أُمِّ سَلَمَةَ فَتَذَاكَرْنَا الْمَهْدِيَّ فَقَالَتْ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ الْمَهْدِيُّ مِنْ وَلَدِ فَاطِمَةَ ‏"‏‏.‏
It was narrated that Sa'eed bin Musayyab said: "We were with Umm Salamah and we were discussing Mahdi. She said: 'I heard the Messenger of Allah (SAW) say: "Mahdi will be one of the descendents of Fatimah."                      
Reference: Sunan Ibn Majah 4086
In-book reference: Book 36, Hadith 161
English translation: Vol. 5, Book 36, Hadith 4086

 
2.     حَدَّثَنَا نَصْرُ بْنُ عَلِيٍّ الْجَهْضَمِيُّ، حَدَّثَنَا مُحَمَّدُ بْنُ مَرْوَانَ الْعُقَيْلِيُّ، حَدَّثَنَا عُمَارَةُ بْنُ أَبِي حَفْصَةَ، عَنْ زَيْدٍ الْعَمِّيِّ، عَنْ أَبِي صِدِّيقٍ النَّاجِيِّ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ يَكُونُ فِي أُمَّتِي الْمَهْدِيُّ إِنْ قُصِرَ فَسَبْعٌ وَإِلاَّ فَتِسْعٌ فَتَنْعَمُ فِيهِ أُمَّتِي نَعْمَةً لَمْ يَنْعَمُوا مِثْلَهَا قَطُّ تُؤْتَى أُكُلَهَا وَلاَ تَدَّخِرُ مِنْهُمْ شَيْئًا وَالْمَالُ يَوْمَئِذٍ كُدُوسٌ فَيَقُومُ الرَّجُلُ فَيَقُولُ يَا مَهْدِيُّ أَعْطِنِي فَيَقُولُ خُذْ ‏"‏ ‏.‏
"The Mahdi will be among my nation. If he lives for a short period, it will be seven, and if he lives for a long period, it will be nine, during which my nation will enjoy a time of ease such as it has never enjoyed. The land will bring forth its yield and will not hold back anything, and wealth at that time will be piled up. A man will stand up and say: 'O Mahdi, give me!' He will say: 'Take.'"                
Reference: Sunan Ibn Majah 4083
In-book reference: Book 36, Hadith 158
English translation: Vol. 5, Book 36, Hadith 4083

 
3.     حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا أَبُو دَاوُدَ الْحَفَرِيُّ، حَدَّثَنَا يَاسِينُ، عَنْ إِبْرَاهِيمَ بْنِ مُحَمَّدِ ابْنِ الْحَنَفِيَّةِ، عَنْ أَبِيهِ، عَنْ عَلِيٍّ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ الْمَهْدِيُّ مِنَّا أَهْلَ الْبَيْتِ يُصْلِحُهُ اللَّهُ فِي لَيْلَةٍ ‏"‏ ‏.‏
It was narrated from 'Ali that the Messenger of Allah said: "Mahdi is one of us, the people of the Household. Allah will rectify his affair in a single night.
Reference: Sunan Ibn Majah 4085
In-book reference: Book 36, Hadith 160
English translation: Vol. 5, Book 36, Hadith 4085

 
     
4.     حَدَّثَنَا حَرْمَلَةُ بْنُ يَحْيَى الْمِصْرِيُّ، وَإِبْرَاهِيمُ بْنُ سَعِيدٍ الْجَوْهَرِيُّ، قَالاَ حَدَّثَنَا أَبُو صَالِحٍ عَبْدُ الْغَفَّارِ بْنُ دَاوُدَ الْحَرَّانِيُّ، حَدَّثَنَا ابْنُ لَهِيعَةَ، عَنْ أَبِي زُرْعَةَ، عَمْرِو بْنِ جَابِرٍ الْحَضْرَمِيِّ عَنْ عَبْدِ اللَّهِ بْنِ الْحَارِثِ بْنِ جَزْءٍ الزُّبَيْدِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ يَخْرُجُ نَاسٌ مِنَ الْمَشْرِقِ فَيُوَطِّئُونَ لِلْمَهْدِيِّ ‏"‏ ‏.‏ يَعْنِي سُلْطَانَهُ ‏.‏
It was narrated from 'Abdullah bin Harith bin Jaz' Az-Zabidi that the Messenger of Allah said: "People will come from the east, paving the way for Mahdi," meaning, for his rule."                 
Reference: Sunan Ibn Majah 4088
In-book reference: Book 36, Hadith 163
English translation: Vol. 5, Book 36, Hadith 4088

 
5.     حَدَّثَنَا هَدِيَّةُ بْنُ عَبْدِ الْوَهَّابِ، حَدَّثَنَا سَعْدُ بْنُ عَبْدِ الْحَمِيدِ بْنِ جَعْفَرٍ، عَنْ عَلِيِّ بْنِ زِيَادٍ الْيَمَامِيِّ، عَنْ عِكْرِمَةَ بْنِ عَمَّارٍ، عَنْ إِسْحَاقَ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي طَلْحَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ نَحْنُ وَلَدَ عَبْدِ الْمُطَّلِبِ سَادَةُ أَهْلِ الْجَنَّةِ أَنَا وَ حَمْزَةُ وَ عَلِيٌّ وَ جَعْفَرٌ وَ الْحَسَنُ وَ الْحُسَيْنُ وَ الْمَهْدِيُّ ‏"‏.‏
It was narrated that Anas bin Malik said: "I heard the Messenger of Allah say: 'We, the sons of 'Abdul-Muttalib, will be leaders of the people of Paradise: Myself, Hamzah. 'Ali, Ja'far, Hasan, Husain and Mahdi."                      
Reference: Sunan Ibn Majah 4087
In-book reference: Book 36, Hadith 162
English translation: Vol. 5, Book 36, Hadith 4087

 
6.     حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى، وَأَحْمَدُ بْنُ يُوسُفَ، قَالاَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ، عَنْ سُفْيَانَ الثَّوْرِيِّ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ أَبِي قِلاَبَةَ، عَنْ أَبِي أَسْمَاءَ الرَّحَبِيِّ، عَنْ ثَوْبَانَ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏"‏ يَقْتَتِلُ عِنْدَ كَنْزِكُمْ ثَلاَثَةٌ كُلُّهُمُ ابْنُ خَلِيفَةٍ ثُمَّ لاَ يَصِيرُ إِلَى وَاحِدٍ مِنْهُمْ ثُمَّ تَطْلُعُ الرَّايَاتُ السُّودُ مِنْ قِبَلِ الْمَشْرِقِ فَيَقْتُلُونَكُمْ قَتْلاً لَمْ يُقْتَلْهُ قَوْمٌ ‏"‏ ‏.‏ ثُمَّ ذَكَرَ شَيْئًا لاَ أَحْفَظُهُ فَقَالَ ‏"‏ فَإِذَا رَأَيْتُمُوهُ فَبَايِعُوهُ وَلَوْ حَبْوًا عَلَى الثَّلْجِ فَإِنَّهُ خَلِيفَةُ اللَّهِ الْمَهْدِيُّ ‏"‏ ‏.‏
It was narrated from Thawban that the Messenger of Allah said: "Three will fight one another for your treasure, each one of them the son of a caliph, but none of them will gain it. Then the black banners will come from the east, and they will kill you in an unprecedented manner." Then he mentioned something that I do not remember, then he said: "When you see them, then pledge your allegiance to them even if you have to crawl over the snow, for that is the caliph of Allah, Mahdi."        
Reference: Sunan Ibn Majah 4084
In-book reference: Book 36, Hadith 159
English translation: Vol. 5, Book 36, Hadith 4084

 
 
7.     حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا شُعْبَةُ، قَالَ سَمِعْتُ زَيْدًا الْعَمِّيَّ، قَالَ سَمِعْتُ أَبَا الصِّدِّيقِ النَّاجِيَّ، يُحَدِّثُ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ خَشِينَا أَنْ يَكُونَ، بَعْدَ نَبِيِّنَا حَدَثٌ فَسَأَلْنَا نَبِيَّ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏"‏ إِنَّ فِي أُمَّتِي الْمَهْدِيَّ يَخْرُجُ يَعِيشُ خَمْسًا أَوْ سَبْعًا أَوْ تِسْعًا ‏"‏ ‏.‏ زَيْدٌ الشَّاكُّ ‏.‏ قَالَ قُلْنَا وَمَا ذَاكَ قَالَ ‏"‏ سِنِينَ ‏"‏ ‏.‏ قَالَ ‏"‏ فَيَجِيءُ إِلَيْهِ رَجُلٌ فَيَقُولُ يَا مَهْدِيُّ أَعْطِنِي أَعْطِنِي ‏"‏ ‏.‏ قَالَ ‏"‏ فَيَحْثِي لَهُ فِي ثَوْبِهِ مَا اسْتَطَاعَ أَنْ يَحْمِلَهُ ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ وَقَدْ رُوِيَ مِنْ غَيْرِ وَجْهٍ عَنْ أَبِي سَعِيدٍ عَنِ النَّبِيِّ صلى الله عليه وسلم ‏.‏ وَأَبُو الصِّدِّيقِ النَّاجِيُّ اسْمُهُ بَكْرُ بْنُ عَمْرٍو وَيُقَالُ بَكْرُ بْنُ قَيْسٍ ‏.‏
Zaid bin Al-'Ammi said: "I heard Abu As-Siddiq An-Naji narrate a Hadith from Abu Sa'eed Al-Khudri who said: 'We feared events to occur after our Prophet, so we asked Allah's Prophet (s.a.w), and he said: "Indeed there will be a Mahdi who comes in my Ummah (ruling) living for five, or seven, or nine."- Zaid was the one in doubt- He said: "We said: What is that?" He said: "Years." He said: "A man will come to him and say: O Mahdi! 'Give to me, give to me! So he will fill in his garment whatever he is able to carry.'"                               
Reference: Jami` at-Tirmidhi 2232
In-book reference: Book 33, Hadith 75
English translation: Vol. 4, Book 7, Hadith 2232

 
8.     حَدَّثَنَا سَهْلُ بْنُ تَمَّامِ بْنِ بَزِيعٍ، حَدَّثَنَا عِمْرَانُ الْقَطَّانُ، عَنْ قَتَادَةَ، عَنْ أَبِي نَضْرَةَ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ الْمَهْدِيُّ مِنِّي أَجْلَى الْجَبْهَةِ أَقْنَى الأَنْفِ يَمْلأُ الأَرْضَ قِسْطًا وَعَدْلاً كَمَا مُلِئَتْ جَوْرًا وَظُلْمًا يَمْلِكُ سَبْعَ سِنِينَ ‏"‏‏.‏
Narrated AbuSa'id al-Khudri: The Prophet said: "The Mahdi will be of my stock, and will have a broad forehead a prominent nose. He will fill the earth will equity and justice as it was filled with oppression and tyranny, and he will rule for seven years." 
Reference: Sunan Abi Dawud 4285
In-book reference: Book 38, Hadith 7
English translation: Book 37, Hadith 4272

 
9.     حَدَّثَنَا أَحْمَدُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ جَعْفَرٍ الرَّقِّيُّ، حَدَّثَنَا أَبُو الْمَلِيحِ الْحَسَنُ بْنُ عُمَرَ، عَنْ زِيَادِ بْنِ بَيَانٍ، عَنْ عَلِيِّ بْنِ نُفَيْلٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أُمِّ سَلَمَةَ، قَالَتْ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ الْمَهْدِيُّ مِنْ عِتْرَتِي مِنْ وَلَدِ فَاطِمَةَ ‏"‏ ‏.‏ قَالَ عَبْدُ اللَّهِ بْنُ جَعْفَرٍ وَسَمِعْتُ أَبَا الْمَلِيحِ يُثْنِي عَلَى عَلِيِّ بْنِ نُفَيْلٍ وَيَذْكُرُ مِنْهُ صَلاَحًا ‏.‏
Narrated Umm Salamah, Ummul Mu'minin: The Prophet said: "The Mahdi will be of my family, of the descendants of Fatimah. Abdullah ibn Ja'far said: I heard AbulMalih praising Ali ibn Nufayl and describing his good qualities."
Reference: Sunan Abi Dawud 4284
In-book reference: Book 38, Hadith 6
English translation: Book 37, Hadith 4271
 

 
10. حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، وَعَلِيُّ بْنُ حُجْرٍ، - وَاللَّفْظُ لِزُهَيْرٍ - قَالاَ حَدَّثَنَا إِسْمَاعِيلُ، بْنُ إِبْرَاهِيمَ عَنِ الْجُرَيْرِيِّ، عَنْ أَبِي نَضْرَةَ، قَالَ كُنَّا عِنْدَ جَابِرِ بْنِ عَبْدِ اللَّهِ فَقَالَ يُوشِكُ أَهْلُ الْعِرَاقِ أَنْ لاَ يُجْبَى إِلَيْهِمْ قَفِيزٌ وَلاَ دِرْهَمٌ ‏.‏ قُلْنَا مِنْ أَيْنَ ذَاكَ قَالَ مِنْ قِبَلِ الْعَجَمِ يَمْنَعُونَ ذَاكَ ‏.‏ ثُمَّ قَالَ يُوشِكَ أَهْلُ الشَّأْمِ أَنْ لاَ يُجْبَى إِلَيْهِمْ دِينَارٌ وَلاَ مُدْىٌ ‏.‏ قُلْنَا مِنْ أَيْنَ ذَاكَ قَالَ مِنْ قِبَلِ الرُّومِ ‏.‏ ثُمَّ سَكَتَ هُنَيَّةً ثُمَّ قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ يَكُونُ فِي آخِرِ أُمَّتِي خَلِيفَةٌ يَحْثِي الْمَالَ حَثْيًا لاَ يَعُدُّهُ عَدَدًا ‏"‏ ‏.‏ قَالَ قُلْتُ لأَبِي نَضْرَةَ وَأَبِي الْعَلاَءِ أَتَرَيَانِ أَنَّهُ عُمَرُ بْنُ عَبْدِ الْعَزِيزِ فَقَالاَ لاَ ‏.
Abu Nadra reported: "We were in the company of Jabir b. 'Abdullah that he said it may happen that the people of Iraq may not send their qafiz and dirhams (their measures of food stuff and their money). We said: Who would be responsible for it? He said: The non-Arabs would prevent them. He again said: There is the possibility that the people of Syria may not send their dinars and mudds. We said: Who would be responsible for it? He said this prevention would be made by the Romans. He (Jabir b. Abdullah) kept quiet for a while and then reported Allah's Messenger having said: There would be a caliph in the last (period) of my Ummah who would freely give handfuls of wealth to the people without counting it. I said to Abu Nadra and Abu al-'Ala: Do you mean 'Umar b. 'Abd al-Aziz? They said: No (he would be Imam Mahdi).
Reference: Sahih Muslim 2913a
In-book reference: Book 54, Hadith 81
USC-MSA web (English) reference: Book 41, Hadith 6961
  (deprecated numbering scheme)

 
11. حَدَّثَنَا عَمْرُو بْنُ عُثْمَانَ، حَدَّثَنَا مَرْوَانُ بْنُ مُعَاوِيَةَ، عَنْ إِسْمَاعِيلَ، - يَعْنِي ابْنَ أَبِي خَالِدٍ - عَنْ أَبِيهِ، عَنْ جَابِرِ بْنِ سَمُرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ لاَ يَزَالُ هَذَا الدِّينُ قَائِمًا حَتَّى يَكُونَ عَلَيْكُمُ اثْنَا عَشَرَ خَلِيفَةً كُلُّهُمْ تَجْتَمِعُ عَلَيْهِ الأُمَّةُ ‏"‏ ‏.‏ فَسَمِعْتُ كَلاَمًا مِنَ النَّبِيِّ صلى الله عليه وسلم لَمْ أَفْهَمْهُ قُلْتُ لأَبِي مَا يَقُولُ قَالَ ‏"‏ كُلُّهُمْ مِنْ قُرَيْشٍ ‏"‏ ‏.
Narrated Jabir ibn Samurah: The Prophet said: "The religion will continue to be established till there are twelve caliphs over you, and the whole community will agree on each of them. I then heard from the Prophet some remarks which I could not understand. I asked my father: What is he saying: He said: all of them will belong to Quraysh."
Reference: Sunan Abi Dawud 4279
In-book reference: Book 38, Hadith 1
English translation: Book 37, Hadith 4266

 
12. حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا دَاوُدُ، عَنْ عَامِرٍ، عَنْ جَابِرِ بْنِ سَمُرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ لاَ يَزَالُ هَذَا الدِّينُ عَزِيزًا إِلَى اثْنَىْ عَشَرَ خَلِيفَةً ‏"‏ ‏.‏ قَالَ فَكَبَّرَ النَّاسُ وَضَجُّوا ثُمَّ قَالَ كَلِمَةً خَفِيَّةً قُلْتُ لأَبِي يَا أَبَةِ مَا قَالَ قَالَ ‏"‏ كُلُّهُمْ مِنْ قُرَيْشٍ ‏"‏.‏
Narrated Jabir b. Samurah: I heard the Messenger of Allah say: "This religion will continue to be strong till the time of twelve caliphs. The people then uttered: Allah is more great and uproared. He then silently a word which I could not understand. So I said to my father: What did he say, father? He said: All of them will belong to Quraish."
Reference: Sunan Abi Dawud 4280
In-book reference: Book 38, Hadith 2
English translation: Book 37, Hadith 4267
 

The tradition mentioned above has also been transmitted by Jabir b. Samurah through a different chain of narrators. This version adds:
13. حَدَّثَنَا ابْنُ نُفَيْلٍ، حَدَّثَنَا زُهَيْرٌ، حَدَّثَنَا زِيَادُ بْنُ خَيْثَمَةَ، حَدَّثَنَا الأَسْوَدُ بْنُ سَعِيدٍ الْهَمْدَانِيُّ، عَنْ جَابِرِ بْنِ سَمُرَةَ، بِهَذَا الْحَدِيثِ زَادَ فَلَمَّا رَجَعَ إِلَى مَنْزِلِهِ أَتَتْهُ قُرَيْشٌ فَقَالُوا ثُمَّ يَكُونُ مَاذَا قَالَ ‏ "‏ ثُمَّ يَكُونُ الْهَرْجُ ‏"‏ ‏.
‏ When he came back to his home. the Quraish came to him and said: Then what will happen? He said: Then turmoil will prevail.
Reference: Sunan Abi Dawud 4281
In-book reference: Book 38, Hadith 3
English translation: Book 37, Hadith 4268

 
 
14. حَدَّثَنَا مُسَدَّدٌ، أَنَّ عُمَرَ بْنَ عُبَيْدٍ، حَدَّثَهُمْ ح، وَحَدَّثَنَا مُحَمَّدُ بْنُ الْعَلاَءِ، حَدَّثَنَا أَبُو بَكْرٍ، - يَعْنِي ابْنَ عَيَّاشٍ ح وَحَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَحْيَى، عَنْ سُفْيَانَ، ح وَحَدَّثَنَا أَحْمَدُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُوسَى، أَخْبَرَنَا زَائِدَةُ، ح وَحَدَّثَنَا أَحْمَدُ بْنُ إِبْرَاهِيمَ، حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ مُوسَى، عَنْ فِطْرٍ، - الْمَعْنَى وَاحِدٌ - كُلُّهُمْ عَنْ عَاصِمٍ، عَنْ زِرٍّ، عَنْ عَبْدِ اللَّهِ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ لَوْ لَمْ يَبْقَ مِنَ الدُّنْيَا إِلاَّ يَوْمٌ ‏"‏ ‏.‏ قَالَ زَائِدَةُ فِي حَدِيثِهِ ‏"‏ لَطَوَّلَ اللَّهُ ذَلِكَ الْيَوْمَ ‏"‏ ‏.‏ ثُمَّ اتَّفَقُوا ‏"‏ حَتَّى يَبْعَثَ فِيهِ رَجُلاً مِنِّي ‏"‏ ‏.‏ أَوْ ‏"‏ مِنْ أَهْلِ بَيْتِي يُوَاطِئُ اسْمُهُ اسْمِي وَاسْمُ أَبِيهِ اسْمَ أَبِي ‏"‏ ‏.‏ زَادَ فِي حَدِيثِ فِطْرٍ ‏"‏ يَمْلأُ الأَرْضَ قِسْطًا وَعَدْلاً كَمَا مُلِئَتْ ظُلْمًا وَجَوْرًا ‏"‏ ‏.‏ وَقَالَ فِي حَدِيثِ سُفْيَانَ ‏"‏ لاَ تَذْهَبُ أَوْ لاَ تَنْقَضِي الدُّنْيَا حَتَّى يَمْلِكَ الْعَرَبَ رَجُلٌ مِنْ أَهْلِ بَيْتِي يُوَاطِئُ اسْمُهُ اسْمِي ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ لَفْظُ عُمَرَ وَأَبِي بَكْرٍ بِمَعْنَى سُفْيَانَ ‏.‏
Narrated Abdullah ibn Mas'ud: The Prophet said: "If only one day of this world remained. Allah would lengthen that day (according to the version of Za'idah), till He raised up in it a man who belongs to me or to my family whose father's name is the same as my father's, who will fill the earth with equity and justice as it has been filled with oppression and tyranny (according to the version of Fitr). Sufyan's version says: The world will not pass away before the Arabs are ruled by a man of my family whose name will be the same as mine."
Reference: Sunan Abi Dawud 4282
In-book reference: Book 38, Hadith 4
English translation: Book 37, Hadith 4269

 
15. حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا الْفَضْلُ بْنُ دُكَيْنٍ، حَدَّثَنَا فِطْرٌ، عَنِ الْقَاسِمِ بْنِ أَبِي بَزَّةَ، عَنْ أَبِي الطُّفَيْلِ، عَنْ عَلِيٍّ، - رضى الله تعالى عنه - عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ لَوْ لَمْ يَبْقَ مِنَ الدَّهْرِ إِلاَّ يَوْمٌ لَبَعَثَ اللَّهُ رَجُلاً مِنْ أَهْلِ بَيْتِي يَمْلأُهَا عَدْلاً كَمَا مُلِئَتْ جَوْرًا ‏"‏ ‏.‏
Narrated Ali ibn AbuTalib: The Prophet said: "If only one day of this time (world) remained, Allah would raise up a man from my family who would fill this earth with justice as it has been filled with oppression."            
Reference: Sunan Abi Dawud 4283
In-book reference: Book 38, Hadith 5
English translation: Book 37, Hadith 4270

 
16. حَدَّثَنَا أَحْمَدُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ جَعْفَرٍ الرَّقِّيُّ، حَدَّثَنَا أَبُو الْمَلِيحِ الْحَسَنُ بْنُ عُمَرَ، عَنْ زِيَادِ بْنِ بَيَانٍ، عَنْ عَلِيِّ بْنِ نُفَيْلٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أُمِّ سَلَمَةَ، قَالَتْ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ الْمَهْدِيُّ مِنْ عِتْرَتِي مِنْ وَلَدِ فَاطِمَةَ ‏"‏ ‏.‏ قَالَ عَبْدُ اللَّهِ بْنُ جَعْفَرٍ وَسَمِعْتُ أَبَا الْمَلِيحِ يُثْنِي عَلَى عَلِيِّ بْنِ نُفَيْلٍ وَيَذْكُرُ مِنْهُ صَلاَحًا ‏.‏
Narrated Umm Salamah, Ummul Mu'minin: The Prophet said: "The Mahdi will be of my family, of the descendants of Fatimah. Abdullah ibn Ja'far said: I heard AbulMalih praising Ali ibn Nufayl and describing his good qualities."   
Reference: Sunan Abi Dawud 4284
In-book reference: Book 38, Hadith 6
English translation: Book 37, Hadith 4271
 

17. حَدَّثَنَا سَهْلُ بْنُ تَمَّامِ بْنِ بَزِيعٍ، حَدَّثَنَا عِمْرَانُ الْقَطَّانُ، عَنْ قَتَادَةَ، عَنْ أَبِي نَضْرَةَ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ الْمَهْدِيُّ مِنِّي أَجْلَى الْجَبْهَةِ أَقْنَى الأَنْفِ يَمْلأُ الأَرْضَ قِسْطًا وَعَدْلاً كَمَا مُلِئَتْ جَوْرًا وَظُلْمًا يَمْلِكُ سَبْعَ سِنِينَ ‏"‏ ‏.‏
Narrated AbuSa'id al-Khudri: The Prophet said: "The Mahdi will be of my stock, and will have a broad forehead a prominent nose. He will fill the earth will equity and justice as it was filled with oppression and tyranny, and he will rule for seven years."
Reference: Sunan Abi Dawud 4285
In-book reference: Book 38, Hadith 7
English translation: Book 37, Hadith 4272

 
18. حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، حَدَّثَنَا مُعَاذُ بْنُ هِشَامٍ، حَدَّثَنِي أَبِي، عَنْ قَتَادَةَ، عَنْ صَالِحٍ أَبِي الْخَلِيلِ، عَنْ صَاحِبٍ، لَهُ عَنْ أُمِّ سَلَمَةَ، زَوْجِ النَّبِيِّ صلى الله عليه وسلم عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏"‏ يَكُونُ اخْتِلاَفٌ عِنْدَ مَوْتِ خَلِيفَةٍ فَيَخْرُجُ رَجُلٌ مِنْ أَهْلِ الْمَدِينَةِ هَارِبًا إِلَى مَكَّةَ فَيَأْتِيهِ نَاسٌ مِنْ أَهْلِ مَكَّةَ فَيُخْرِجُونَهُ وَهُوَ كَارِهٌ فَيُبَايِعُونَهُ بَيْنَ الرُّكْنِ وَالْمَقَامِ وَيُبْعَثُ إِلَيْهِ بَعْثٌ مِنَ الشَّامِ فَيُخْسَفُ بِهِمْ بِالْبَيْدَاءِ بَيْنَ مَكَّةَ وَالْمَدِينَةِ فَإِذَا رَأَى النَّاسُ ذَلِكَ أَتَاهُ أَبْدَالُ الشَّامِ وَعَصَائِبُ أَهْلِ الْعِرَاقِ فَيُبَايِعُونَهُ بَيْنَ الرُّكْنِ وَالْمَقَامِ ثُمَّ يَنْشَأُ رَجُلٌ مِنْ قُرَيْشٍ أَخْوَالُهُ كَلْبٌ فَيَبْعَثُ إِلَيْهِمْ بَعْثًا فَيَظْهَرُونَ عَلَيْهِمْ وَذَلِكَ بَعْثُ كَلْبٍ وَالْخَيْبَةُ لِمَنْ لَمْ يَشْهَدْ غَنِيمَةَ كَلْبٍ فَيَقْسِمُ الْمَالَ وَيَعْمَلُ فِي النَّاسِ بِسُنَّةِ نَبِيِّهِمْ صلى الله عليه وسلم وَيُلْقِي الإِسْلاَمُ بِجِرَانِهِ إِلَى الأَرْضِ فَيَلْبَثُ سَبْعَ سِنِينَ ثُمَّ يُتَوَفَّى وَيُصَلِّي عَلَيْهِ الْمُسْلِمُونَ ‏"‏ ‏.‏ قَالَ أَبُو دَاوُدَ قَالَ بَعْضُهُمْ عَنْ هِشَامٍ ‏"‏ تِسْعَ سِنِينَ ‏"‏ ‏.‏ وَقَالَ بَعْضُهُمْ ‏"‏ سَبْعَ سِنِينَ ‏"‏ ‏.‏
Narrated Umm Salamah, Ummul Mu'minin: The Prophet said: "Disagreement will occur at the death of a caliph and a man of the people of Medina will come flying forth to Mecca. Some of the people of Mecca will come to him, bring him out against his will and swear allegiance to him between the Corner and the Maqam. An expeditionary force will then be sent against him from Syria but will be swallowed up in the desert between Mecca and Medina. When the people see that, the eminent saints of Syria and the best people of Iraq will come to him and swear allegiance to him between the Corner and the Maqam.
Then there will arise a man of Quraysh whose maternal uncles belong to Kalb and send against them an expeditionary force which will be overcome by them, and that is the expedition of Kalb. Disappointed will be the one who does not receive the booty of Kalb. He will divide the property, and will govern the people by the Sunnah of their Prophet and establish Islam on Earth. He will remain seven years, then die, and the Muslims will pray over him.
Abu Dawud said: Some transmitted from Hisham "nine years" and some "seven years"
.
Reference: Sunan Abi Dawud 4286
In-book reference: Book 38, Hadith 8
English translation: Book 37, Hadith 4273

 
19. حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا جَرِيرٌ، عَنْ عَبْدِ الْعَزِيزِ بْنِ رُفَيْعٍ، عَنْ عُبَيْدِ اللَّهِ ابْنِ الْقِبْطِيَّةِ، عَنْ أُمِّ سَلَمَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم بِقِصَّةِ جَيْشِ الْخَسْفِ قُلْتُ يَا رَسُولَ اللَّهِ فَكَيْفَ بِمَنْ كَانَ كَارِهًا قَالَ ‏ "‏ يُخْسَفُ بِهِمْ وَلَكِنْ يُبْعَثُ يَوْمَ الْقِيَامَةِ عَلَى نِيَّتِهِ ‏"‏ ‏.‏
Umm salamah reported the Prophet as saying about the swallowing up an army by the earth. I asked: How will a man who comes against his will (be swallowed up by the earth), Messenger of Allah? He replied: "All will be swallowed up, but each will be raised according to his intention on the Day of Resurrection." 
Reference: Sunan Abi Dawud 4289
In-book reference: Book 38, Hadith 11
English translation: Book 37, Hadith 4276

 
 
 
21. حَدَّثَنَا فَضْلُ بْنُ دُكَيْنٍ، حَدَّثَنَا يَاسِينُ الْعِجْلِيُّ، عَنْ إِبْرَاهِيمَ بْنِ مُحَمَّدِ ابْنِ الْحَنَفِيَّةِ، عَنْ أَبِيهِ، عَنْ عَلِيٍّ، رَضِيَ اللَّهُ عَنْهُ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْمَهْدِيُّ مِنَّا أَهْلَ الْبَيْتِ يُصْلِحُهُ اللَّهُ فِي لَيْلَةٍ‏.‏
 It was narrated that ‘Ali said: The Messenger of Allah  said: “The Mahdi is one of us’ Ahlal-Bait (the prophet’s family) and Allah will prepare him in one night”.                    
Reference: Musnad Ahmad 645
In-book reference: Book 5, Hadith 81

 
Source: https://hadith.net/en/