The Messenger of Allah ﷺ said, "Dajjal will come to Madinah and find the angels guarding it. Neither plague nor Dajjal will enter it, Allah willing."
حدثنا عبدة بن عبد الله الخزاعي البصري حدثنا يزيد بن هارون أخبرنا شعبة عن قتادة
قال رسول الله ﷺ يأتي الدجال المدينة فيجد الملائكة يحرسونها فلا يدخلها الطاعون ولا الدجال إن شاء الله
Bukhari also narrated it in Fitan, chapter "Dajjal will not enter Madinah," no. 7134, from the hadith of Yazid bin Harun with the same wording.This subject is also reported on the authority of Abu Hurairah [Bukhari, no. 1880, 5731, 7133, and Muslim, no. 485/1379], Fatimah bint Qays [Muslim, no. 2942], Usama bin Zayd [I did not find it], Samura bin Jundab [Ahmad, 5/16, and Hakim graded it sahih according to the standard of the two Shaykhs, 1/329–331, and Dhahabi agreed with him, and Ibn Hibban graded it sahih (al-Ihsan), no. 2845, and part of it was mentioned earlier, no. 562], and Mihjan [Ahmad, 4/338, and Hakim graded it sahih according to the standard of Muslim, 4/543, and Dhahabi agreed with him].