Madinah · Jannatul Baqi
Jannatul Baqi — Visiting the Cemetery of Madinah

On the eastern side of Masjid an-Nabawi in Madinah lies a quiet field of sand and small stones that holds more history than almost any place on earth: Jannatul Baqi, also called Baqi al-Gharqad, the cemetery of Madinah since the time of the Prophet ﷺ. Thousands of the Companions are buried here, among them Uthman ibn Affan (RA), the third caliph, and the wives of the Prophet ﷺ — the Mothers of the Believers — with one exception: Khadijah (RA) rests in Makkah, in the cemetery of Jannatul Mu'alla. A visit to Baqi belongs in every Madinah stay; our Madinah Ziyarat Guide shows how it fits into the wider round of visits.
The du'a on entering a graveyard: Greet the people of Baqi the way the Prophet ﷺ taught his companions to greet the people of the graves:
السَّلَامُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ، وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَاحِقُونَ، نَسْأَلُ اللَّهَ لَنَا وَلَكُمُ الْعَافِيَةَ
"As-salamu 'alaykum ahla ad-diyari min al-mu'minina wa al-muslimin, wa inna in sha Allahu bikum lahiqun, nas'alullaha lana wa lakum al-'afiyah"
"Peace be upon you, O dwellers of these abodes from among the believers and Muslims; and we — if Allah wills — will join you; I ask Allah for well-being for us and for you" (Sahih Muslim 974, narrated by Buraydah RA).
Visiting Baqi — the practical side:
- Opening times. Baqi usually opens briefly after the Fajr and Asr prayers, when the gates are opened for men to enter, greet the people of Baqi and make du'a. Times are controlled by the mosque authorities and can change — ask at the Haram or check on the day.
- Women pay their respects from outside the boundary — from the gates and the surrounding courtyard of Masjid an-Nabawi, where Baqi lies in full view; the greeting and du'a above are said from there.
- What you will see. The graves today are simple, unmarked mounds of sand and earth, each with small stones — no names, no structures. You will not be able to identify the grave of any individual Companion; visit the whole cemetery with one greeting and one du'a for all of its people.
- Combine your Madinah days well. Baqi sits right beside the Haram, so it pairs with your Rawdah Permit visit on the same day, and with a trip out to Masjid Quba. First-time visitors should read Umrah for First-Timers for the order of the Madinah days, and the Umrah Packing List for what to carry — you need nothing for Baqi but a quiet heart.
Etiquette in Baqi — please keep it:
- Keep your voice low. It is a graveyard, not a gathering place; speak softly, if at all.
- Make du'a only to Allah. Ask Allah to forgive the people of Baqi and to grant you a good end — never ask anything from the dead; supplication is worship, and worship is for Allah alone.
- No wailing or loud lamentation over the graves.
- No touching, kissing or climbing on graves, and do not take sand or stones from them.
- No littering — leave the cemetery exactly as you found it, and follow the instructions of the staff at the gates.
Quick questions:
- Who is buried in Jannatul Baqi? Thousands of the Companions of the Prophet ﷺ, including Uthman ibn Affan (RA) and the Mothers of the Believers — the Prophet's wives — except Khadijah (RA), who is buried in Jannatul Mu'alla in Makkah. The graves today are simple unmarked mounds, so individual graves cannot be picked out.
- When can I visit Baqi, and can women visit? The gates usually open briefly after Fajr and Asr prayers for men to enter. Women greet the people of Baqi and make du'a from outside the boundary, by the gates and the courtyard of Masjid an-Nabawi. Times are set by the mosque authorities and may change.
- What should I say when I enter a graveyard? The du'a the Prophet ﷺ taught: "Peace be upon you, O dwellers of these abodes from among the believers and Muslims; and we — if Allah wills — will join you; I ask Allah for well-being for us and for you" (Sahih Muslim 974). Then make du'a to Allah for them — and for yourself.
Sources: Sahih Muslim 974 — Sunnah.com ↗ · Sahih Muslim 977 — Sunnah.com ↗