Anas bin Malik reported,

The Prophet ﷺ said, "There is no land that Dajjal will not trample except Mecca and Medina. He will not approach any of their mountain passes without finding rows of angels guarding them. Then Medina will shake its inhabitants with three tremors, and Allah will drive out from it every disbeliever and hypocrite."

Bukhari 1881

Sahih

حدثنا إبراهيم بن المنذر حدثنا الوليد حدثنا أبو عمرو حدثنا إسحاق حدثني

أنس بن مالك رضي الله عنه

عن النبي ﷺ قال ليس من بلد إلا سيطؤه الدجال إلا مكة والمدينة ليس له من نقابها نقب إلا عليه الملائكة صافين يحرسونها ثم ترجف المدينة بأهلها ثلاث رجفات فيخرج الله كل كافر ومنافق

البخاري 1881صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Virtues of Madinah
Chapter
Dajjal will not enter Madinah
Numbering
Darussalam 1881
Bukhari 1881