The Messenger of Allah ﷺ said, "At the mountain passes leading into Madinah are angels. Neither plague nor the Dajjal can enter it."
قال رسول الله ﷺ: على أنقاب المدينة ملائكة، لا يدخلها الطاعون والدجال.
Malik narrated it in Kitab Jami (16) from Naeem bin Abdullah Mujmir, from Abu Hurairah, and mentioned the hadith. Bukhari narrated it in the Virtues of Madinah (1880) from Ismail, and Muslim in Hajj (1379) from Yahya bin Yahya, both of them from Malik, with the same chain, similarly.As for his saying "anqab," it is the plural of naqb, with a fatha on the nun and the qaf, followed by a labial letter. Ibn Wahb said, "What is meant by it are the entrances. It is also said the gates. The basic meaning of naqb is the path between two mountains. It is also said that al-anqab are the roads that people travel, and from this comes His saying, "and searched throughout the land" [Qaf 50:36]." This is what the Hafiz said in Fath al-Bari 4/96.I say, in the hadith of Abu Bakra there is an explicit statement that Madinah, the Prophet's city, had at that time seven gates, and at each gate were two angels.