The Prophet ﷺ said, "The Dajjal will come to Madinah, but he will find the angels guarding it, so the Dajjal will not approach it, nor will the plague, if Allah wills."
عن النبي ﷺ قال: المدينة يأتيها الدجال، فيجد الملائكة يحرسونها فلا يقربها الدجال، قال: ولا الطاعون إن شاء الله.