Messenger of Allah ﷺ said, "There are angels guarding the entrances (or roads) of Medina, neither plague nor Ad-Dajjal will be able to enter it." (Using translation from Bukhārī 1880)
أَنَّ رَسُولَ اللهِ ﷺ قَالَ عَلَى أَبوابِ الْمَدِينَةِ مَلَائِكَةٌ لَا يَدْخُلُهَا الطَّاعُونُ وَلَا الدَّجَّالُ