Anas bin Malik reported,

The Prophet ﷺ said, "There is no land that Dajjal will not trample upon except Makkah and Madinah. There is no mountain pass leading into them except that the angels stand in rows guarding it. Then Madinah will tremble with three quakes, and Allah will expel from it every disbeliever and hypocrite."

Azami 10583

Sahih

عن أنس بن مالك

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

الأعظمي 10583صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Virtues of the lands
Chapter
Virtues of Makkah and Madinah together
Section
Dajjal will not enter Makkah and Madinah
Numbering
Jami al-Kamil 10583 (2nd edition)
Azami 10583