Hadithcore
Sahih al-Bukhari, 1881
sahih

Narrated Anas bin Malik:

The Prophet (ﷺ) said, "There will be no town which Ad-Dajjal will not enter except Mecca and Medina, and there will be no entrance (road) (of both Mecca and Medina) but the angels will be standing in rows guarding it against him, and then Medina will shake with its inhabitants thrice (i.e. three earthquakes will take place) and Allah will expel all the non-believers and the hypocrites from it."

حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ، حَدَّثَنَا الْوَلِيدُ، حَدَّثَنَا أَبُو عَمْرٍو، حَدَّثَنَا إِسْحَاقُ، حَدَّثَنِي أَنَسُ بْنُ مَالِكٍ ـ رضى الله عنه ـ عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏

‏ لَيْسَ مِنْ بَلَدٍ إِلاَّ سَيَطَؤُهُ الدَّجَّالُ، إِلاَّ مَكَّةَ وَالْمَدِينَةَ، لَيْسَ لَهُ مِنْ نِقَابِهَا نَقْبٌ إِلاَّ عَلَيْهِ الْمَلاَئِكَةُ صَافِّينَ، يَحْرُسُونَهَا، ثُمَّ تَرْجُفُ الْمَدِينَةُ بِأَهْلِهَا ثَلاَثَ رَجَفَاتٍ، فَيُخْرِجُ اللَّهُ كُلَّ كَافِرٍ وَمُنَافِقٍ ‏

‏‏.‏

References2 variants
In-Book Reference
Book 29, Hadith 15
USC-MSA web (English) reference
Vol. 3, Book 30, Hadith 105 (deprecated numbering scheme)
Sharh · explanationclick to expand
The Prophet ﷺ did not leave any good without guiding us to it, nor any evil without warning us against it. An example of the pervasive evils against which he ﷺ warned us is the emergence of Al-Maseeh Al-Dajjaal and this is one of the major signs of the Hour. In this hadeeth, the Prophet ﷺ informed us that Al-Maseeh Al-Dajjaal shall enter all lands and deceive the disbelievers into following him, but he will not be able to enter Makkah and Al-Madeenah; all the routes and roads leading to themwill be guarded by rows of angels. The Arabic word ‘Dajjaal’ linguistically means concealment, because he is a liar who covers up the truth and conceals itand reveal falsehood. He shall be a human being by means of whom Allah, Exalted is He, shall test His servants. He will grant him some abilities that are exclusive to Him, such as: the resurrection of the dead person whom he shall kill, the time of prosperity and affluence that he will usher in, his heaven and fire, and his two rivers. Moreover, the treasures of the land will follow him, and he will command the sky to rain and the plants to grow, and they will comply. All of that shall happen by the power and will of Allah, Exalted is He, as a fitnah and trial for people. Then he ﷺ informed us that Al-Madeenah will shake with its inhabitants thrice (i.e., three earthquakes will take place) and on the third time, Allah, Exalted is He, will expel all the disbelievers and hypocrites from it, leaving only the true believers who devote their faith exclusively to Him. Al-Maseeh Al-Dajjaal will have no power over those believers. It should be noted that this hadeeth does not contradict the one narrated on the authority of Aboo Bakrah Nufay‘ ibn Al-Haarith (may Allah be pleased with him), cited in Saheeh Al-Bukhaaree, stating that the horror of Al-Maseeh Al-Dajjaal shall not find its way to Al-Madeenah, because what is meant by ‘horror’ here is the fear caused by his mention and his aggression, not the tremor that shall occur to expel the disbelievers and hypocrites from Al-Madeenah. This hadeeth also highlights a sign proving the prophethood of Muhammad ﷺ, and underlines the merits of Al-Madeenah and Makkah, and the virtues of the sincere and true believers residing therein..
Related hadiths2
Compare isnād across 2 related chains →