Allah's Messenger (ﷺ) said, "There are angels guarding the entrances (or roads) of Medina, neither plague nor Ad-Dajjal will be able to enter it."
Sahih al-Bukhari Book 29, Hadith 14