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."
عن النبي ﷺ قال: ليس من بلد إلا سيطؤه الدجال إلا مكة والمدينة، ليس له من نقابها نقب إلا عليه الملائكة صافين يحرسونها ثم ترجف المدينة ثلاث رجفات، فيخرج الله كل كافر ومنافق.
Bukhari narrated it in the Virtues of Madinah (1881), and Muslim in Tribulations and the Signs of the Hour (2943:123), both of them through Walid bin Muslim, who said, Abu Amr (meaning Uzai) narrated to me, from Ishaq bin Abdullah bin Abu Talha, who said, Anas bin Malik narrated to me, and he said, then he mentioned it.