The original mosque of the Prophet Muhammad had only three entrances, Bab ul-Rehmah to the south, Bab e Jibraeel to the west and Bab un-Nissa to the east, although at the time these doors were not identified with these names. Today, the Prophet’s mosque has 43 doors (doors, gates and entrances). Each of these doors is surmounted by a stone plaque with the following verse from the Koran: ادْخُلُوهَا بِسَلَامٍ آمِنِينَ udkhuluhā bisalāmin āminīna Enter with peace and security, [Surat al-Hijr, 15:46].
Bab as-Salam door: (Door No 1) built by the caliph Omar around 640 CE (18 Hj.) In the west wall of the mosque. During numerous extensions of the mosque, this door was also shifted west in the same line and today it is not in its original location. Babs as-Salam means the door to peace or tranquility. Although it is no longer in its original location, it is one of the very first doors to the mosque.
Bab e abi Bakr Siddiq: (Door No 2) according to ibn Hajr “The small door is called Khukhah”, it was near the fifth column west of the pulpit. This small door opened onto the mosque. This door was moved west along the same line during the various extensions of the mosque. During the first expansion by the Saudi government, it was called Bab Siddique. Bab as-Salam is also partially visible on the right.
Bab ur-Rehmah: (Gate no. 3) was initially installed by Prophet Muhammad, during the various extensions of the mosque, it was moved west in accordance with its original position. As this door was in front of the house of “Atika bint” Abdullah bin Yazeed bin Mu’awiyah (عاتكة بنت عبد الله بن يزيد بن معاوية), it was sometimes called Bab e Atika.
Hijrah Gate: (Door # 4) is a double arch door (double). It is located to the left of bab al-Rahmah. It is called in memory of the Hijrah tradition of Prophet Muhammad of Mecca in 622 CE. Originally, this door only had two doors, but recently two more doors were installed east of these two, bringing the total number of doors to four.
Gate of Quba: (Door No 5,6) is located in the direction of the village of Quba, it is a door with triple arcade on the south side of the mosque. It is located on the southwest flank of the King Fahad bin Abdulaziz block of Masjid al-Nabawi.
King Saud Gate: (Gate no. 7, 8, 9) is called after Saud bin Abdulaziz Al Saud, who commissioned the first Saudi extension of the Prophet’s mosque. The door has seven gates in total, two large on the sides and five smaller. It is located at the southwest corner of King Fahad’s expansion. It has a single minaret on its southern flank, which is one of the six tallest minarets in Masjid al-Nabawi.
Bab e Malik al-Saud: (Gate No 10) called after Imam al-Bukhari is located on the western flank of Masjid. It also offers access to the Maktab ae Masjid al-Nabawi. It is located between Bab e Malik al-Saud and Bab e Malik abdul Majeed.
Bab al-Aqiq, the gate no. 11 is located on the west side of Masjid Nabawi. It was named after the Wadi al-Aqeeq (وادي العقيق), which runs along the western border of Medina. Oued al-Aqeeq is one of the notable valleys of Medina, where the houses of several prominent companions were located. The Qasr Urwah, which may have originally belonged to Sahabi Urwah ibn Zubair, was also detained here.
Bab al-Majeedi is situated on the north-western flank of the second Saudi expansion by Malik Fahad. The Bab e Sultan ‘Abdul Majeed (gate no. 12, 13, 14) also known as Bab e Majeedi was moved in the north-western corner of the Fahad bin Abdul Aziz expansion. Today the gate has five smaller portals and 2 large portals and only one minaret on the southern side which merges in to Bab Omar ibn al-Khattab of Masjid al-Nabawi.
Umar ibn ul-Khattab Gate : (Portal 18) (Gate no. 16, 17, 18) One of the portals of the Umar ibn ul-Khattab gate, located at the northwest corner of the main complex, also provides access to the library of the mosque. The first Bab e Umar is located at the northwest corner of the expansion of Malik Abdulaziz, but after the expansion of Malik Fahad, the door to the new northwest corner was recalled Bab e Umar.
Badr Gate : (Gate no. 19) Bab e Badr is located on the north side of the mosque, between Bab Malik Fahad to the east (left) and Bab Umar ibn al-Khattab at the dump (right). It is a single portal entrance, above the door, a verse from Surah al-Hajar is engraved in marble: “Enter in peace (be safe)” … (Koran 15:46)
King Fahad Gate : (Gate no. 20, 21, 22) is the main entrance to the Prophet’s Mosque from the north. It is called after the Fahd of Saudi Arabia, Malik Fahd bin Abdulaziz Al Saud, guardian of the Two Holy Mosques, who was the King of Saudi Arabia from 1982 to 2005.
Ohad Gate : (Gate no. 23) is called after the valley of Uhud at the foot of Mount Uhud where the battle of Uhud took place between the first Muslims and their enemies Qurayshi Meccan in 625 CE. The barriers seen here are moderators of pedestrian traffic and are only used in areas with high concentration of the mosque, otherwise the doors and doors are kept away from these traffic regulators.
Uthman ibn Affan Gate : (Gate no. 24, 25, 26) is called after the companion of the Prophet Muhammad, also known as Uthman e Ghani. The gate is located at the northeast corner of the north flank of the second Saudi expansion. With two large gates and five central gates, it is one of the seven largest gates of the Prophet’s mosque. It is one of two doors that provide direct access to the women’s northeast section of the Prophet’s Mosque.
Ali ibn ali Talib Gate : (Gate no. 28, 29, 30) is located on the eastern side of the an-Nabawi mosque. It is one of the seven largest doors. Bab e ‘Ali is called after the companion and first cousin of the Prophet Muhammad, Ali ibn abu Talib.
Abu Zar Ghaffari Gate : (Gate no. 31, 32) is called after a companion of the Prophet Muhammad who was the fourth or fifth person to embrace Islam. Abu Dhar is known for his strict piety and also his opposition to Muawiyah I during the era of Caliph Uthman ibn Affan. The gate is located on the eastern flank of King Fahad’s expansion between Bab ‘Abdulaziz (left) and Bab’ Ali (right).
King abd ul-Aziz Gate: (Gate no. 33, 34, 35) is one of the biggest gates of Masjid al-Nabawi. In total, it has five small and two large entry and exit doors. It is called after Abdulaziz ibn Saud. It is located at the southeast corner of the King Fahad extension. The door has two minarets on both sides.
Makkah Gate: (Gate no. 37) is located on the south side of the main expansion building of Malik Fahad, and faces Mecca, called Bab-i Makkah. It is one of two identical gates, the other being the Bab Quba, located on the southern flank of Shah Fahad’s expansion. It is a triple arch door, conforming to the architectural models of the first expansion.
Bilal Gate: (Gate no. 38) is called after Bilal ibn Rabah al-Habashi, the companion of the Prophet Muhammad and the first Muazzin of Islam. The Bilal gate is located on the southern flank of the last expansion of the mosque by King Fahad. It is a double gate gate with a single arch on each.
Al-Nisa Gate: (Gate no. 39) originally installed by Umar ibn Khattab, the al-Nisa gate was designed to allow women to enter and exit the mosque premises. During the time of Umar bin Abdul Aziz, it was exclusively assigned and used by the ladies.
Gate of Jibraeel : (Gate no. 40) also known as Bab un-Nabi, is located north of Bab al-Baqi, and is known as Bab-e Jibraeel because, according to tradition, the angel Gabriel used to enter in the Prophet’s mosque through this door. According to Samhoudi, he was moved east during many extensions of the mosque.
Al-Baqi Gate: (Gate no. 41) is located closest to the funeral chamber of Prophet Muhammad and faces Baqi ul-Gharqad. It is located exactly opposite the Bab as-Salam and a passage connects the two.
Gate of the Imams : (Gate no. 42) (Bab al-Aiymah also known as Bab ul-Janayez, is a small gate located on the south side of Masjid al-Nabawi and allows entry to the Rawdah Rasool section. It is mainly used by imams and opens closely to the Mehrab -i Uthmani, the functional mehrab of the mosque today.