Sahih Bukhari – Hadith No : 1912

Narrated Abu Bakra: The Prophet said, “The terror caused by Al-Masih Ad-Dajjal will not enter Medina and at that time Medina will have seven gates and there will be two angels at each gate guarding them.”

Hadith In Arabic Text :

حدثنا عبد العزيز بن عبد الله، قال حدثني إبراهيم بن سعد، عن أبيه، عن جده، عن أبي بكرة رضى الله عنه عن النبي صلى الله عليه وسلم قال ‏”‏ لا يدخل المدينة رعب المسيح الدجال، لها يومئذ سبعة أبواب، على كل باب ملكان ‏”‏‏.‏

Chapter : Virtues of Madinah – كتاب فضائل المدينة