← Sahih al-Bukhari
Sahih al-Bukhari · Hadith #6865 · Afflictions and the End of the World

Narrated Anas bin Malik:

حَدَّثَنِي يَحْيَى بْنُ مُوسَى، حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ، أَخْبَرَنَا شُعْبَةُ، عَنْ قَتَادَةَ، عَنْ أَنَسِ بْنِ مَالِكٍ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ الْمَدِينَةُ يَأْتِيهَا الدَّجَّالُ، فَيَجِدُ الْمَلاَئِكَةَ يَحْرُسُونَهَا، فَلاَ يَقْرَبُهَا الدَّجَّالُ ـ قَالَ ـ وَلاَ الطَّاعُونُ، إِنْ شَاءَ اللَّهُ ‏"‏‏.‏

The Prophet (ﷺ) said, "Ad-Dajjal will come to Medina and find the angels guarding it. So Allah willing,
neither Ad-Dajjal, nor plague will be able to come near it."