Bab al-Baqi: Closest Gate to the Graveyard of the Companions (2026 Ziyarat Guide)
Bab al-Baqi (باب البقيع) isn’t an ordinary entrance to Masjid al-Nabawi. It’s the gateway to memories. When you are standing near it, your thoughts turn towards the beautiful earth of Jannat al-Baqi, where thousands of Sahabah and family members of the Prophet, as well as early believers, rest.
It’s quiet, often forgotten and deeply emotional. Each Ziyarat here is an act of faith in the direction of the early Muslims.
✅ TL;DR – Bab al-Baqi in Masjid al-Nabawi
Bab al-Baqi is Gate 41 of Masjid al-Nabawi, situated close to Jannat al-Baqi, the sacred cemetery of companions and family members of the Prophet Muhammad ﷺ. The gate is located near the Rawdah and the Prophet’s ﷺ tomb, offering access to the mosque’s eastern side.
Pilgrims visiting graves or exiting after Rawdah often use this gate. It holds deep spiritual and emotional significance as a passage linking prayer, remembrance, and the contemplation of death and the afterlife.
The Historical Connection Between Bab al-Baqi and the Sahabah
Jannat al-Baqi is just outside the gate. In the time of the Prophet, He often visited the graveyard and performed duas for the deceased. Bab al-Baqi became the natural path between the Mosque and the cemetery and was a place for worship and reflection.
Many accounts speak of the Prophet sitting in Baqi, lifting his hands in honour of the deceased, and instructing his followers to visit graves to soothe the heart. Bab al-Baqi was the link to those moments.
Where is Bab al-Baqi located in the Mosque?
- Bab al-Baqi is on the eastern wall of Masjid al-Nabawi
- Adjacent to Bab Jibril and Bab un-Nisa
- The gate faces the entrance of Jannat al-Baqi
This makes it the preferred gate for those performing Ziyarat of the graveyard after visiting the Rawdah or offering prayer inside the Mosque.
Spiritual Reflection at Bab al-Baqi
This gate is often used after emotional visits when pilgrims have wept at the Prophet’s ﷺ tomb or stood in awe inside the Rawdah.
As they exit through Bab al-Baqi, many pause for a final dua, gaze at the cemetery and silently remember the Sahabah, Ahlul Bayt, and Ummahat al-Mu’mineen buried there.
There’s a stillness around this gate that’s hard to describe, but you’ll feel it.
5 Reasons Why Bab al-Baqi Is a Sacred Gate for Ziyarat
- Leads directly to Jannat al-Baqi, the burial site of key companions
- Closest exit after visiting the Prophet’s ﷺ tomb
- Area of frequent duas by the Prophet ﷺ
- Deeply emotional spot for remembrance and connection
- Used by millions for grave visitation during Hajj and Umrah
Bab al-Baqi Overview
📘 Key Details – Bab al-Baqi (Gate 41)
| Attribute | Details |
|---|---|
| Gate Number | 41 |
| Name Meaning | Gate of Baqi (cemetery) |
| Location | Eastern wall of Masjid al-Nabawi |
| Nearby Landmarks | Jannat al-Baqi, Bab Jibril, Rawdah |
| Historical Relevance | Used by Prophet ﷺ to visit the cemetery |
| Usage Type | Exit and access point for Ziyarat to the graveyard |
| Gender Access | Managed via time schedules during peak periods |
| Spiritual Focus | Reflection on death, dua for the deceased |
| Common Practice | Pause, dua, facing toward Baqi after prayer |
| Ideal Timing | After Fajr or Asr for grave visits |
Final Reflection
Bab al-Baqi reminds you that even the most excellent companions returned to the earth. After the intensity of Rawdah, this gate is like a whisper: “Now go remember them.” If you’re visiting Madinah, don’t just walk past this gate, stop, reflect, and let your heart connect with those who built this religion besides the Prophet ﷺ. Say a prayer. Let your eyes water. That’s what this gate is for.
📚 FAQs About Bab al-Baqi in Masjid al-Nabawi
1. What is Bab al-Baqi in Masjid al-Nabawi?
It is Gate 41, positioned closest to the sacred graveyard of Jannat al-Baqi in Medina.
2. Where is Bab al-Baqi located?
It’s on the eastern wall of Masjid al-Nabawi, near the Prophet’s ﷺ tomb and Bab Jibril.
3. What does the name Bab al-Baqi mean?
It means the Gate of Baqi, named after the cemetery it leads to.
4. Who is buried in Jannat al-Baqi near this gate?
Thousands of companions, including Uthman ibn Affan, Fatimah (RA), and many wives of the Prophet ﷺ.
5. Can I visit the graves through Bab al-Baqi?
Yes, this gate leads directly to the area used for Ziyarat of the cemetery.
6. Is there a specific dua to say at Bab al-Baqi?
Yes, many recite the dua for visiting graves: “Peace be upon you, O inhabitants of this land…”
7. Is Bab al-Baqi open to both men and women?
Yes, but women’s access to Baqi is currently restricted; the gate itself may still be used based on mosque schedules.
8. What’s the best time to visit Bab al-Baqi?
Early morning or after Asr, especially outside peak prayer times.
9. Is Bab al-Baqi near Rawdah?
Yes, it is one of the nearest gates after exiting Rawdah or the Prophet’s ﷺ chamber.
10. Why do people cry at Bab al-Baqi?
Because it connects them to the graves of the Sahabah, Ahlul Bayt, and those closest to the Prophet ﷺ. It’s a deeply emotional place.








