Jannat al-Baqi: who is buried there and how to visit
Al-Baqi, the cemetery beside the Prophet's Mosque: who is buried there, the words the Prophet ﷺ said at its graves, opening times and etiquette.
3 min read

Al-Baqi, or Baqi al-Gharqad, is the oldest cemetery in Madinah and still the city's main one. Many visitors know it as Jannat al-Baqi. Most of the Prophet's ﷺ wives lie there, with many of his family and Companions, and he would go out to it at the end of the night to pray for the people buried there.
Where is al-Baqi?
Right beside the Prophet's Mosque, at the south-east edge of its courtyards. Houses and schools once stood between the two, until the King Fahd expansion cleared them, so today the courtyard runs straight up to the cemetery wall. The cemetery covers about 180,000 square metres. If you have just greeted the Prophet ﷺ, the Salam passage brings you out at Bab al-Baqi on the east side, and the cemetery is a few minutes' walk across the courtyard.
Who is buried in al-Baqi?
- Uthman ibn Affan, the third caliph.
- The Prophet's ﷺ wives, the Mothers of the Believers, apart from Khadijah, buried in Makkah, and Maymunah, buried near it.
- His daughters Zaynab, Ruqayyah and Umm Kulthum, and his son Ibrahim, who died as a small child.
- His uncle al-Abbas, his aunt Safiyyah and his grandson al-Hasan ibn Ali.
- Many Companions, among them Uthman ibn Maz'un, the first of the Muhajirun buried there, Abd al-Rahman ibn Awf, Sa'd ibn Abi Waqqas and Abdullah ibn Mas'ud.
- Imam Malik ibn Anas, the great scholar of Madinah.
The graves are low mounds of earth marked with a stone, and none of them carries a name.
Madinah still buries its dead here, residents and visitors who die in the city alike. The Prophet ﷺ said: "Whoever is able to die in Madinah, let him die there, for I will intercede for those who die there" (al-Tirmidhi).
What the Prophet ﷺ said at al-Baqi
Aisha reported that on the nights he spent with her, the Prophet ﷺ would go out at the end of the night to al-Baqi and say: "Peace be upon you, abode of believing people. What you were promised has come to you, deferred until tomorrow, and we will join you, if Allah wills. O Allah, forgive the people of Baqi al-Gharqad" (Muslim).
You can greet them with the same words, or with the shorter greeting in our guide to Mount Uhud.
Opening times and etiquette
- The gates open to men twice a day, usually after Fajr and after Asr. The times are posted at the gate and can change in Ramadan and the Hajj season. There's no ticket or permit.
- Women don't go in, and many say the greeting from the courtyard outside the wall.
- Keep to the paved paths. The Prophet ﷺ said: "Do not sit on graves and do not pray towards them" (Muslim).
- Greet the people buried there and make dua for them, and for your own family who have passed away.
What the Sunnah teaches at graves is the greeting and dua for those buried there. Touching the walls, tying threads or taking earth from the graves is not part of it.

Following a funeral
Funeral prayers are held in the Prophet's Mosque after many of the daily prayers, and the dead are then carried to al-Baqi. Men who pray over one can walk with it to the grave. The Prophet ﷺ said: "Whoever attends a funeral until he prays over it has one qirat, and whoever stays until the burial has two." He was asked what two qirats are and said: "Like two great mountains" (al-Bukhari).
When to go
After Fajr is the easiest time: it's cool, and you're already at the mosque. Half an hour is enough.
For greeting the Prophet ﷺ at his grave, read Visiting the Prophet's Mosque, and for the other places to see in the city, Ziyarat in Madinah.
Hotels near the Prophet's Mosque
Compare the walk, the view and the price, then book in minutes.
See the hotelsSources
- Sahih Muslim 974: the Prophet's ﷺ visits to al-Baqi at night · Checked 9 Nov 2026
- Sahih Muslim 972: do not sit on graves · Checked 9 Nov 2026
- Sahih al-Bukhari 1325: following a funeral to the burial · Checked 9 Nov 2026
- Jami at-Tirmidhi 3917: dying in Madinah · Checked 9 Nov 2026
- Saudipedia: Al-Baqi Cemetery · Checked 9 Nov 2026
- Wikipedia: Al-Baqi Cemetery · Checked 9 Nov 2026


