Jannat al Baqi: Visiting Madinah’s Blessed Cemetery
Ziyarat

Jannat al Baqi: Visiting Madinah’s Blessed Cemetery

Jannat al Baqi, beside Masjid an-Nabawi, is the resting place of many Companions and members of the Prophet’s ﷺ family. Here is its history, the Sunnah greeting and visiting times.

Updated 28 November 2026Reviewed by the UmraHajj travel team

Jannat al Baqi, also called Baqi‘ al-Gharqad, is the main cemetery of Madinah and lies just east of Masjid an-Nabawi. Thousands of Companions are buried here, along with members of the Prophet’s ﷺ family, his wives and the third caliph, ‘Uthman ibn ‘Affan.

The Prophet ﷺ visited it often, sometimes at night, and taught the words with which to greet its people. Visiting it is therefore a Sunnah with a clear basis.

Jannat al Baqi at dawn, beside Masjid an-Nabawi in Madinah
The walls of al-Baqi‘ at dawn, seen from the plaza of the Prophet’s ﷺ mosque.

The history of Jannat al Baqi

The first Companion buried here after the Hijrah is reported to be ‘Uthman ibn Maz‘un. The Prophet’s ﷺ young son Ibrahim was buried here too, as were his daughters Ruqayyah, Umm Kulthum and Zaynab, and most of his wives, the Mothers of the Believers. Khadijah is buried in Makkah, and Maymunah at Sarif near Makkah.

Others buried here include his uncle al-‘Abbas, his grandson al-Hasan ibn ‘Ali and the caliph ‘Uthman. Fatimah is widely held to be buried in al-Baqi‘, though historians differ on the exact spot.

The Prophet’s ﷺ visits

‘A’ishah reports that the Prophet ﷺ would go out at the end of the night to al-Baqi‘ and greet its people, and that Jibril told him Allah commanded him to go and seek forgiveness for them (Muslim). He also prayed, “O Allah, forgive the people of Baqi‘ al-Gharqad” (Muslim).

What you will see at Jannat al Baqi

Inside the walls, the graves are marked with simple low stones, without names or buildings, in keeping with the Sunnah of plain graves. Paved paths run between the sections. The cemetery is still used for burials, so you may see funerals after the prayers in Masjid an-Nabawi.

Guides may point to areas associated with particular people, but because the graves are unmarked such identifications are approximate.

How to visit Jannat al Baqi

The cemetery is adjacent to the eastern side of the Prophet’s ﷺ mosque plaza, a walk of a few minutes from the Bab al-Baqi‘ area. Access for visitors is usually opened for limited periods, most often after Fajr and after ‘Asr, and generally for men only. Times change, so check on arrival. Twenty to thirty minutes is enough.

Jannat al Baqi etiquette: the Sunnah greeting

When you enter, say the greeting reported by ‘A’ishah in Sahih Muslim: “As-salamu ‘ala ahl ad-diyar min al-mu’minin wal-muslimin, wa yarhamullahu al-mustaqdimina minna wal-musta’khirin, wa inna in sha’ Allahu bikum la-lahiqun.” Buraydah’s version, also in Muslim, adds: “nas’alullaha lana wa lakum al-‘afiyah.”

Practical tips

Go straight after Fajr

Walk over as soon as the prayer ends, when the gates usually open.

Learn the greeting

Memorise the Sunnah words beforehand.

Keep it brief

Make dua, reflect and leave room for others.

Jannat al Baqi quick facts

CityMadinah
DistanceAdjacent to Masjid an-Nabawi, east side
Time needed20–30 minutes
Best timeAfter Fajr or after ‘Asr
DifficultyEasy
Open to visitorsAt limited times, generally men only
Location

Jannat al-Baqi‘

Adjacent to Masjid an-Nabawi (east)

Open in Google MapsNearby ziyarat
MadinahAdd Madinah to your UmrahNights near Masjid an-Nabawi, Rawdah permits and ziyarat — we include it in your proposal.Madinah city guide →

For greeting the Prophet ﷺ and the Rawdah, see our Madinah ziyarat guide. Plan other visits with the ziyarat route planner, compare Makkah’s Jannat al-Mualla, or see the full ziyarat hub. Hadith texts can be checked on Sunnah.com.

Jannat al Baqi: frequently asked questions

When is Jannat al Baqi open?

Usually for short periods after Fajr and after ‘Asr, mostly for men. Check locally, as times change.

Can women visit al-Baqi‘?

Entry is currently generally restricted to men. Women can greet the dead and make dua from outside the walls.

Is Fatimah buried there?

Many scholars hold that she is, but historians differ on the exact place of her grave.

What should I say when I enter?

Use the greeting reported in Sahih Muslim, then ask Allah to forgive the believers buried there.

Planning your days in Madinah? Our Madinah city guide has live prayer times, the weather, the local time and every ziyarah in the city on one page.

Stay close to the Prophet’s ﷺ mosque

We can arrange hotels within walking distance of Masjid an-Nabawi and al-Baqi‘ for an unhurried stay.

Request my proposal →
Chat with us