This is a complete guide to the dua for visiting Jannat al-Baqi‘ (Jannatul Baqi) in Madinah: the dua the Prophet ﷺ himself recited there, how to visit in four steps, the greetings to the notable figures buried there and the visiting times, with the Arabic, transliteration and the status of each narration. May this guide help you, in sha Allah.
Editorial review: 16 October 2026 · English edition: 4 December 2026 · Expert fiqh review: in progress · Main references: Sahih Muslim, al-Adhkar and al-Majmu‘ (al-Nawawi), the Federal Territory Mufti Office (Malaysia) and the official Visit Madinah portal.
Summary
The dua for visiting Baqi‘ that the Prophet ﷺ himself recited: Assalāmu ‘alaikum dāra qaumin mu’minīn, wa atākum mā tū‘adūna ghadan mu’ajjalūn, wa innā in shā’ Allāhu bikum lāhiqūn. Allāhummaghfir li-ahli Baqī‘il-Gharqad (Sahih Muslim, no. 974). Its meaning: peace be upon the dwellers of a home of believers, and we, if Allah wills, will join you. O Allah, forgive the people of Baqi‘ al-Gharqad.
Baqi‘ is open to men and children only, usually after the obligatory prayers (checked October 2026). Women make dua from outside the fence. Follow the 4 steps below.
Follow these steps
Dua for Visiting Jannat al-Baqi‘: Step by Step
Follow these four steps to recite the dua for visiting Baqi‘ in the proper order.
Follow the four cards below. Only the dua in step 1 needs to be remembered. The other recitations are optional. Recite whichever you have time for.

If this happens
- Are you a woman? Women are not allowed to enter. Stand outside the fence and recite the dua of step 1 and the dua of step 4 (ruling and guidance).
- Gate already closed? Pray for the people of Baqi‘ from outside the fence. Come back after the next obligatory prayer.
- Do not know where a particular grave is? Most graves are unmarked. The general greeting in step 1 already includes everyone buried there. The greetings to notable figures can be recited from the path.
- See people wiping or kissing graves? Do not follow them. That is disliked (makruh) in the Shafi‘i school (al-Nawawi, al-Majmu‘ 8/275).
- Able to follow a funeral from Masjid an-Nabawi? Follow it until the burial is complete. The reward is two qirats (Sahih Muslim, no. 946).
Before you begin
Men and children only are allowed to enter Baqi‘.
Time: the gate is usually opened for a short while after the obligatory prayers, especially Fajr and Asr. Check the current information.
Route: after visiting the grave of the Prophet ﷺ, leave through Bab al-Baqi‘ (gate 41). Baqi‘ is across the courtyard on the east side of the mosque.
Bring drinking water and an umbrella or hat. The area is open and hot during the day.
Intention: to visit in order to remember death and to pray for those buried there. The Prophet ﷺ said: “Visit the graves, for they remind you of death” (Sahih Muslim, no. 976).
1
Step 1 of 4
At the gate of Baqi‘ This step begins the dua for visiting Baqi‘.
Face the graves and give salam
Enter calmly. Stand at the side of the path and face the graves.
Raise your hands if you wish. The Prophet ﷺ stood for a long time at Baqi‘ and raised his hands three times (Sahih Muslim, no. 974).
Recite this dua:
Dua when visiting Baqi‘Sahih
السَّلاَمُ عَلَيْكُمْ دَارَ قَوْمٍ مُؤْمِنِينَ، وَأَتَاكُمْ مَا تُوعَدُونَ غَدًا مُؤَجَّلُونَ، وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لاَحِقُونَ. اللَّهُمَّ اغْفِرْ لأَهْلِ بَقِيعِ الْغَرْقَدِ
Assalāmu ‘alaikum dāra qaumin mu’minīn, wa atākum mā tū‘adūna ghadan mu’ajjalūn, wa innā in shā’ Allāhu bikum lāhiqūn. Allāhummaghfir li-ahli Baqī‘il-Gharqad.
Peace be upon you, O dwellers of a home of believers. What you were promised has come to you, and you are deferred until tomorrow (the Day of Resurrection). And we, if Allah wills, will join you. O Allah, forgive the people of Baqi‘ al-Gharqad.
Sahih Muslim, no. 974. The Prophet’s ﷺ own dua at Baqi‘ late at night, narrated by ‘Aishah (may Allah be pleased with her). A sahih hadith.
Given salam? Step 1 is complete. Step 2 ↓
2
Step 2 of 4
Walk along the path This part is the core of the dua for visiting Baqi‘.
Follow the path
Walk only on the path provided.
Do not sit on or step on graves. The Prophet ﷺ forbade sitting on graves (Sahih Muslim, no. 972).
Do not touch, wipe or kiss the graves.
Lower your voice. Avoid idle talk.
Additional recitations (optional)
As you walk, recite whichever you have time for. Tap Meaning and source to see the meaning and status of each recitation.
1The greeting taught to ‘Aishah (may Allah be pleased with her)Sahih
السَّلاَمُ عَلَى أَهْلِ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ، وَيَرْحَمُ اللَّهُ الْمُسْتَقْدِمِينَ مِنَّا وَالْمُسْتَأْخِرِينَ، وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَلاَحِقُونَ
Assalāmu ‘alā ahlid-diyāri minal-mu’minīna wal-muslimīn, wa yarhamullāhul-mustaqdimīna minnā wal-musta’khirīn, wa innā in shā’ Allāhu bikum la-lāhiqūn.
Meaning and source
Peace be upon the dwellers of these homes (the graves) among the believers and the Muslims. May Allah have mercy on those of us who have gone ahead and those who come later. And we, if Allah wills, will surely join you.
Sahih Muslim, no. 974 (second narration). The wording the Prophet ﷺ taught ‘Aishah (may Allah be pleased with her) to say at Baqi‘. A sahih hadith. The wording is minnā (of us), not minkum.
2Greeting to the people of the gravesSee source
السَّلاَمُ عَلَيْكُمْ يَا أَهْلَ الْقُبُورِ، يَغْفِرُ اللَّهُ لَنَا وَلَكُمْ، أَنْتُمْ سَلَفُنَا وَنَحْنُ بِالأَثَرِ
Assalāmu ‘alaikum yā ahlal-qubūr, yaghfirullāhu lanā wa lakum, antum salafunā wa nahnu bil-athar.
Meaning and source
Peace be upon you, O people of the graves. May Allah forgive us and you. You have gone before us, and we will follow in your footsteps.
Sunan al-Tirmidhi, no. 1053, narrated by Ibn ‘Abbas (may Allah be pleased with him), when the Prophet ﷺ passed by graves in Madinah. Al-Tirmidhi graded it hasan, while Darussalam graded it da‘if.
3Dua for the people of the graves and for yourselfCombined wording
اللَّهُمَّ لاَ تَحْرِمْنَا أَجْرَهُمْ، وَلاَ تَفْتِنَّا بَعْدَهُمْ، وَاغْفِرْ لَنَا وَلَهُمْ
Allāhumma lā tahrimnā ajrahum, wa lā taftinnā ba‘dahum, waghfir lanā wa lahum.
Meaning and source
O Allah, do not deprive us of the reward (for our loss) of them, do not put us to trial after them, and forgive us and them.
Sunan Ibn Majah, no. 1546, narrated by ‘Aishah (may Allah be pleased with her) at Baqi‘. Darussalam graded it da‘if. The addition waghfir lanā wa lahum is the wording of the dua used by Shafi‘i scholars for the fourth takbir of the funeral prayer (al-Nawawi, al-Majmu‘ 5/239), not part of this hadith.
The dua of step 1 and these three recitations may be recited together. Al-Nawawi included a collection like this in al-Adhkar, in the chapter on what the visitor to graves recites. Here each part is shown with its own status.
Walked and made dua? Step 2 is complete. Step 3 ↓
3
Step 3 of 4
Greetings to notable figures (optional) These greetings are part of the dua for visiting Baqi‘.
Greetings to the family and companions of the Prophet ﷺ
The wording below is arranged by scholars, not a hadith. Reciting it is not obligatory.
Recite it from the path while facing the graves. There is no need to look for a particular grave.
Not memorised? The general greeting in step 1 is enough.
1Greeting to ‘Uthman ibn ‘Affan (may Allah be pleased with him)Optional dua
السَّلَامُ عَلَيْكَ يَا ذَا النُّورَيْنِ عُثْمَانَ بْنَ عَفَّانَ، السَّلَامُ عَلَيْكَ يَا ثَالِثَ الْخُلَفَاءِ الرَّاشِدِينَ، السَّلَامُ عَلَيْكَ يَا مُجَهِّزَ جَيْشِ الْعُسْرَةِ بِالنَّقْدِ وَالْعَيْنِ، وَجَامِعَ الْقُرْآنِ بَيْنَ الدَّفَّتَيْنِ، جَزَاكَ اللَّهُ عَنْ أُمَّةِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خَيْرَ الْجَزَاءِ. اللَّهُمَّ ارْضَ عَنْهُ، وَارْفَعْ دَرَجَاتِهِ، وَأَكْرِمْ مَقَامَهُ، وَأَجْزِلْ ثَوَابَهُ. آمِينَ
Assalāmu ‘alaika yā Dhan-Nūraini ‘Uthmāna bna ‘Affān. Assalāmu ‘alaika yā thālithal-khulafā’ir-rāshidīn. Assalāmu ‘alaika yā mujahhiza jaishil-‘usrati bin-naqdi wal-‘ain, wa jāmi‘al-Qur’āni bainad-daffatain. Jazākallāhu ‘an ummati Rasūlillāhi sallallāhu ‘alaihi wa sallama khairal-jazā’. Allāhummardha ‘anhu, warfa‘ darajātihī, wa akrim maqāmahū, wa ajzil thawābahū. Āmīn.
Meaning and source
Peace be upon you, O possessor of the two lights, ‘Uthman ibn ‘Affan. Peace be upon you, O third of the rightly guided caliphs. Peace be upon you, O you who equipped the army of hardship (al-‘Usrah, at Tabuk) with money and wealth, and who gathered the Quran between two covers. May Allah reward you with the best reward on behalf of the ummah of the Messenger of Allah ﷺ. O Allah, be pleased with him, raise his rank, honour his station and increase his reward. Amin.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory. Facts in the wording: equipping the army of hardship (Sahih al-Bukhari, no. 2778) and copying the mushaf (Sahih al-Bukhari, no. 4987).
2Greeting to the wives of the Prophet ﷺOptional dua
السَّلَامُ عَلَيْكُنَّ يَا أَزْوَاجَ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكُنَّ يَا أَزْوَاجَ نَبِيِّ اللَّهِ أُمَّهَاتِ الْمُؤْمِنِينَ، وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ. اللَّهُمَّ ارْضَ عَنْهُنَّ، وَارْفَعْ دَرَجَاتِهِنَّ، وَأَكْرِمْ مَقَامَهُنَّ، وَأَجْزِلْ ثَوَابَهُنَّ. آمِينَ
Assalāmu ‘alaikunna yā azwāja Rasūlillāh. Assalāmu ‘alaikunna yā azwāja Nabiyyillāhi ummahātil-mu’minīn, wa rahmatullāhi wa barakātuh. Allāhummardha ‘anhunna, warfa‘ darajātihinna, wa akrim maqāmahunna, wa ajzil thawābahunna. Āmīn.
Meaning and source
Peace be upon you, O wives of the Messenger of Allah. Peace be upon you, O wives of the Prophet of Allah, Mothers of the Believers, and the mercy of Allah and His blessings. O Allah, be pleased with them, raise their rank, honour their station and increase their reward. Amin.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory. All the wives of the Prophet ﷺ are buried in Baqi‘ except Khadijah and Maimunah (Saudipedia).
3Greeting to the daughters of the Prophet ﷺOptional dua
السَّلَامُ عَلَيْكُنَّ يَا بَنَاتِ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكُنَّ يَا بَنَاتِ نَبِيِّ اللَّهِ، وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ
Assalāmu ‘alaikunna yā banāti Rasūlillāh. Assalāmu ‘alaikunna yā banāti Nabiyyillāh, wa rahmatullāhi wa barakātuh.
Meaning and source
Peace be upon you, O daughters of the Messenger of Allah. Peace be upon you, O daughters of the Prophet of Allah, and the mercy of Allah and His blessings.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory.
4Greeting to al-‘Abbas (may Allah be pleased with him)Optional dua
السَّلَامُ عَلَيْكَ يَا عَبَّاسُ عَمَّ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكَ يَا عَمَّ نَبِيِّ اللَّهِ
Assalāmu ‘alaika yā ‘Abbāsu ‘amma Rasūlillāh. Assalāmu ‘alaika yā ‘amma Nabiyyillāh.
Meaning and source
Peace be upon you, O ‘Abbas, uncle of the Messenger of Allah. Peace be upon you, O uncle of the Prophet of Allah.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory.
5Greeting to Fatimah al-Zahra’ (may Allah be pleased with her)Optional dua
السَّلَامُ عَلَيْكِ يَا سَيِّدَتَنَا فَاطِمَةَ الزَّهْرَاءَ، السَّلَامُ عَلَيْكِ يَا سَيِّدَةَ نِسَاءِ الْعَالَمِينَ، السَّلَامُ عَلَيْكِ يَا أُمَّ سَيِّدِ شَبَابِ أَهْلِ الْجَنَّةِ
Assalāmu ‘alaiki yā sayyidatanā Fātimataz-Zahrā’. Assalāmu ‘alaiki yā sayyidata nisā’il-‘ālamīn. Assalāmu ‘alaiki yā umma sayyidi shabābi ahlil-jannah.
Meaning and source
Peace be upon you, O our lady, Fatimah al-Zahra’. Peace be upon you, O leader of the women of the worlds. Peace be upon you, O mother of the leader of the youth of Paradise.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory. The location of the grave of Fatimah (may Allah be pleased with her) is disputed. This greeting follows the well-known view that she is buried in Baqi‘ (see the table).
6Greeting to al-Hasan ibn ‘Ali (may Allah be pleased with him) and the Ahl al-BaytOptional dua
السَّلَامُ عَلَيْكَ يَا حَسَنَ بْنَ عَلِيٍّ، يَا حِبَّ رَسُولِ اللَّهِ، يَا مَنْ قَالَ فِي حَقِّكَ جَدُّكَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: اللَّهُمَّ إِنِّي أُحِبُّهُ فَأَحِبَّهُ. السَّلَامُ عَلَيْكَ يَا سَيِّدَ شَبَابِ أَهْلِ الْجَنَّةِ. السَّلَامُ عَلَيْكُمْ يَا أَهْلَ بَيْتِ النُّبُوَّةِ، وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ
Assalāmu ‘alaika yā Hasana bna ‘Aliyy, yā hibba Rasūlillāh, yā man qāla fī haqqika jadduka Rasūlullāhi sallallāhu ‘alaihi wa sallam: Allāhumma innī uhibbuhū fa-ahibbah. Assalāmu ‘alaika yā sayyida shabābi ahlil-jannah. Assalāmu ‘alaikum yā ahla baitin-nubuwwah, wa rahmatullāhi wa barakātuh.
Meaning and source
Peace be upon you, O al-Hasan ibn ‘Ali, O beloved of the Messenger of Allah, O you about whom your grandfather, the Messenger of Allah ﷺ, said: “O Allah, I love him, so love him.” Peace be upon you, O leader of the youth of Paradise. Peace be upon you all, O household of prophethood, and the mercy of Allah and His blessings.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory. The dua of the Prophet ﷺ for al-Hasan: Sahih al-Bukhari, no. 3749. “Leader of the youth of Paradise”: Sunan al-Tirmidhi, no. 3768 (sahih).
7Greeting to Abu Sa‘id al-Khudri (may Allah be pleased with him)Optional dua
السَّلَامُ عَلَيْكَ يَا أَبَا سَعِيدٍ الْخُدْرِيَّ صَاحِبَ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكَ يَا رَاوِيَ أَحَادِيثِ نَبِيِّ اللَّهِ، جَزَاكَ اللَّهُ عَنْ أُمَّةِ رَسُولِ اللَّهِ خَيْرَ الْجَزَاءِ
Assalāmu ‘alaika yā Abā Sa‘īdinil-Khudriyya sāhiba Rasūlillāh. Assalāmu ‘alaika yā rāwiya ahādīthi Nabiyyillāh. Jazākallāhu ‘an ummati Rasūlillāhi khairal-jazā’.
Meaning and source
Peace be upon you, O Abu Sa‘id al-Khudri, companion of the Messenger of Allah. Peace be upon you, O narrator of the hadiths of the Prophet of Allah. May Allah reward you with the best reward on behalf of the ummah of the Messenger of Allah.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory. He was among the companions who narrated the most hadiths (Ibn al-Athir, Usd al-Ghabah).
8Greeting to Sa‘d ibn Mu‘adh (may Allah be pleased with him)Optional dua
السَّلَامُ عَلَيْكَ يَا سَعْدَ بْنَ مُعَاذٍ صَاحِبَ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكَ يَا مَنِ اهْتَزَّ لِمَوْتِهِ عَرْشُ الرَّحْمَنِ، جَزَاكَ اللَّهُ عَنْ أُمَّةِ رَسُولِ اللَّهِ خَيْرَ الْجَزَاءِ
Assalāmu ‘alaika yā Sa‘da bna Mu‘ādh sāhiba Rasūlillāh. Assalāmu ‘alaika yā manihtazza limautihī ‘Arshur-Rahmān. Jazākallāhu ‘an ummati Rasūlillāhi khairal-jazā’.
Meaning and source
Peace be upon you, O Sa‘d ibn Mu‘adh, companion of the Messenger of Allah. Peace be upon you, O you whose death shook the Throne of the Most Merciful. May Allah reward you with the best reward on behalf of the ummah of the Messenger of Allah.
A greeting arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good, and reciting it is not obligatory. The Throne shook at the death of Sa‘d: Sahih al-Bukhari, no. 3803.
Given the greetings? Step 3 is complete. Step 4 ↓
4
Step 4 of 4
Pray and leave This closing completes the dua for visiting Baqi‘.
Recite the Quran and make dua
Quietly recite whatever is easy from the Quran, for example al-Fatihah and al-Ikhlas.
Then pray for the people of Baqi‘, your parents and all Muslims. Imam al-Nawawi recommends that the visitor recite much Quran and dhikr, then pray for those in the graves and for all Muslims (al-Adhkar).
A dua in your own language is also good. This Quranic dua is suitable:
Dua for the believers who have gone beforeQuran
رَبَّنَا ٱغۡفِرۡ لَنَا وَلِإِخۡوَٰنِنَا ٱلَّذِينَ سَبَقُونَا بِٱلۡإِيمَٰنِ وَلَا تَجۡعَلۡ فِي قُلُوبِنَا غِلّٗا لِّلَّذِينَ ءَامَنُواْ رَبَّنَآ إِنَّكَ رَءُوفٞ رَّحِيمٌ
Rabbanaghfir lanā wa li-ikhwāninal-ladhīna sabaqūnā bil-īmān, wa lā taj‘al fī qulūbinā ghillal-lilladhīna āmanū, rabbanā innaka ra’ūfur-rahīm.
Our Lord, forgive us and our brothers who preceded us in faith, and do not put in our hearts any resentment towards those who believe. Our Lord, You are Most Kind, Most Merciful.
Surah al-Hashr, verse 10. A Quranic dua for the believers who have gone before.
Leave
Leave calmly by the same path. Your visit is complete.
Back toVisiting the Prophet’s GraveContinue with the next step in Masjid an-Nabawi
Also in MadinahDua in the RawdahWhat to do in the Rawdah, with optional duas in seven parts
Made dua? Your visit to Baqi‘ is complete. Next ↓
Notable figures
Who Is Buried in Jannat al-Baqi‘
Knowing the figures buried here makes the dua for visiting Baqi‘ more meaningful.
Baqi‘ has been the burial ground of the people of Madinah since the time of the Prophet ﷺ. The official Visit Madinah portal states that about 10,000 companions are buried here. This table lists the figures commonly mentioned, with their level of certainty.


| Name | Relationship | Certainty |
|---|---|---|
| ‘Uthman ibn ‘Affan (may Allah be pleased with him) | Third caliph, son-in-law of the Prophet ﷺ | Certain |
| The wives of the Prophet ﷺ, including ‘Aishah and Umm Salamah | Mothers of the Believers. Except Khadijah (in Makkah) and Maimunah | Certain |
| Zainab, Ruqayyah and Umm Kulthum | Daughters of the Prophet ﷺ | Certain |
| Fatimah al-Zahra’ (may Allah be pleased with her) | Daughter of the Prophet ﷺ | Disputed Well-known view: in Baqi‘. The exact spot is unknown. |
| Ibrahim | Son of the Prophet ﷺ | Certain |
| Al-‘Abbas ibn ‘Abd al-Muttalib (may Allah be pleased with him) | Uncle of the Prophet ﷺ | Certain |
| Safiyyah bint ‘Abd al-Muttalib (may Allah be pleased with her) | Aunt of the Prophet ﷺ | Certain |
| Al-Hasan ibn ‘Ali (may Allah be pleased with him) | Grandson of the Prophet ﷺ | Certain |
| ‘Uthman ibn Maz‘un (may Allah be pleased with him) | A companion among the Muhajirun | Certain Well known as the first person buried in Baqi‘. One narration mentions As‘ad ibn Zurarah. |
| Sa‘d ibn Mu‘adh (may Allah be pleased with him) | Leader of the Aws tribe | Certain |
| Abu Sa‘id al-Khudri (may Allah be pleased with him) | Narrator of many hadiths | Certain |
| Sa‘id ibn Zaid (may Allah be pleased with him) | One of the ten companions promised Paradise | Less certain Died at al-‘Aqiq and was buried in Madinah. |
| Imam Malik ibn Anas | Imam of the Maliki school, died 179 AH | Certain |
Not in Baqi‘: ‘Abdullah ibn ‘Umar (may Allah be pleased with him) died and was buried in Makkah, not in Baqi‘. ‘Aishah bint Talhah was a tabi‘iyyah, not a companion. Both have been left off the list.
For women
Women and Visiting Jannat al-Baqi‘
The ruling and rules on the dua for visiting Baqi‘ differ slightly for women.
The authorities allow only men and children to enter Baqi‘. Women may look from outside the fence. In terms of the ruling, the Shafi‘i school discusses it as follows:
A difference of opinion
May women visit graves?
The relied-upon view of the Shafi‘i school
It is disliked (makruh) for women to visit graves (al-Nawawi, al-Majmu‘ 5/310, and Mughni al-Muhtaj 2/57).
If the visit leads to wailing, slapping the cheeks or other forbidden acts, it is haram (Irsyad al-Fatwa Series 217, Federal Territory Mufti Office, Malaysia, in Malay).
An exception is the grave of the Prophet ﷺ, which it is sunnah for women to visit. Al-Fiqh al-Manhaji (1/266) extends this to the graves of the prophets and the righteous, on condition that the etiquette of visiting is observed (Irsyad al-Fatwa Series 217).
Other views
One view in the Shafi‘i school: it is haram. Another: it is permitted if there is no fear of fitnah (Mughni al-Muhtaj 2/57). Some contemporary Hanbali scholars hold that it is haram, based on the hadith cursing women who frequently visit graves.
In practice: do not try to enter. From outside the fence or from the mosque, quietly recite the dua of step 1 and the Quranic dua of step 4. Praying for those who have died can be done anywhere.
Current information
Visiting Times and Route for Jannat al-Baqi‘
Plan your visit so that you can recite the dua for visiting Baqi‘ calmly.
Current information (check on site)

Times and rules, checked October 2026
- Who may enter: men and children (official Visit Madinah portal). Women look from outside the fence (Al Jazeera, February 2025, and House of Saud, April 2026).
- Times: Visit Madinah says the best time is after the obligatory prayers. Al Jazeera (February 2025) reported men visiting after Fajr and Asr. House of Saud (April 2026) says after the five daily prayers. No official timetable by the hour was found.
- Location: next to the south-east wall of Masjid an-Nabawi, joined to the mosque courtyard since the expansion in the time of King Fahd (Saudipedia). The nearest mosque gates are Bab al-Baqi‘ (gate 41) and the gates on the east side.
- Area: about 180,000 square metres (Saudipedia and Visit Madinah).
Opening times change with the season and crowds. Follow the instructions of the staff at the gate of Baqi‘.
Etiquette
Etiquette of Visiting Baqi‘ in the Shafi‘i School
This etiquette completes the recitation of the dua for visiting Baqi‘ while you are at the cemetery.
- Face the graves when giving salam. The Prophet ﷺ turned his face towards the graves when giving salam (Sunan al-Tirmidhi, no. 1053 · al-Adhkar).
- Recite much Quran and dhikr, then pray for those in the graves and for all Muslims (al-Adhkar).
- Do not sit on graves (Sahih Muslim, no. 972) and do not step on them.
- Do not wipe or kiss graves. Al-Nawawi states that this is disliked (makruh) (al-Majmu‘ 8/275 and 5/311).
- Do not wail and do not raise your voice.
- Take a lesson. The purpose of the visit is to remember death and the Hereafter (Sahih Muslim, no. 976).
The greeting taught to ‘Aishah (may Allah be pleased with her) (Sahih Muslim, no. 974) and the etiquette above are suitable for other cemeteries, including Jannat al-Mu‘alla in Makkah. The dua of step 1 mentions Baqi‘ by name. Elsewhere, recite the greeting to the people of the graves (Sahih Muslim, no. 975).
Status of recitations
Sources and Status of the Recitations for Visiting Baqi‘
| Recitation | Source | Status |
|---|---|---|
| The dua of step 1 (dāra qaumin mu’minīn) | Sahih Muslim, no. 974 | Sahih |
| The greeting taught to ‘Aishah (ahlid-diyār) | Sahih Muslim, no. 974 (second narration) | Sahih |
| Yā ahlal-qubūr … antum salafunā | Sunan al-Tirmidhi, no. 1053 | Hasan according to al-Tirmidhi. Da‘if according to Darussalam |
| Lā tahrimnā ajrahum … | Sunan Ibn Majah, no. 1546 | Da‘if (Darussalam) |
| Waghfir lanā wa lahum | Wording of the funeral prayer dua (al-Majmu‘ 5/239) | General dua |
| The dua of step 4 (Rabbanaghfir lanā) | Surah al-Hashr, verse 10 | A verse of the Quran |
| Greetings to eight figures (step 3) | Visiting guidebooks | Arranged by scholars |
Imam al-Nawawi states that da‘if hadiths may be acted upon, and it is even recommended, in matters of the virtues of deeds, as long as they are not fabricated (al-Adhkar, introduction). So the da‘if recitations are kept as optional, while the wording of Sahih Muslim is the fixed recitation. This status matters before you practise any wording of the dua for visiting Baqi‘.
History
A Short History of Baqi‘ al-Gharqad
The history of this site helps pilgrims reflect on the dua for visiting Baqi‘ that they recite.
Its original name is Baqi‘ al-Gharqad, after the gharqad, a thorny shrub that once grew there in abundance (Saudipedia). It used to be outside the city of Madinah, to the east of Masjid an-Nabawi. Today it is in the middle of the city (Visit Madinah).

According to the well-known narration, the first companion buried here was ‘Uthman ibn Maz‘un (may Allah be pleased with him), a few months after the Battle of Badr (Dar al-Ifta, Egypt). Ibn Hajar in al-Isabah reports that the Ansar named As‘ad ibn Zurarah (may Allah be pleased with him) instead.
Q&A
Frequently Asked Questions About the Dua for Visiting Baqi‘
Here are short answers to common questions about the dua for visiting Baqi‘.
When is Jannat al-Baqi‘ open?
Baqi‘ is usually open to men for a short while after the obligatory prayers. A report by Al Jazeera (February 2025) mentions after Fajr and Asr. Times change with the season, so check at the gate of Baqi‘ and follow the staff’s instructions.
Can women enter Jannat al-Baqi‘?
No, the authorities allow only men and children to enter. In the Shafi‘i school, visiting graves is generally disliked (makruh) for women, and haram if it leads to wailing. The grave of the Prophet ﷺ is an exception, and al-Fiqh al-Manhaji extends this to the graves of the prophets and the righteous (Irsyad al-Fatwa Series 217). At Baqi‘, women pray for those buried there from outside the fence or from the mosque.
What is a short dua for visiting Baqi‘?
The dua the Prophet ﷺ recited at Baqi‘: Assalāmu ‘alaikum dāra qaumin mu’minīn, wa atākum mā tū‘adūna ghadan mu’ajjalūn, wa innā in shā’ Allāhu bikum lāhiqūn. Allāhummaghfir li-ahli Baqī‘il-Gharqad (Sahih Muslim, no. 974).
Is the grave of Fatimah al-Zahra’ in Baqi‘?
Scholars differ on the location of the grave of Fatimah (may Allah be pleased with her). The well-known view is that she is buried in Baqi‘, but the exact spot is unknown. Greetings to her may be given from the path.
Can I recite the Quran or Yasin at Baqi‘?
Yes. Imam al-Nawawi recommends that the visitor to graves recite much Quran and dhikr, then pray for those buried there. At Baqi‘, recite quietly and on your own so that you do not block the path or draw a reprimand from the staff.
Is ‘Abdullah ibn ‘Umar buried in Baqi‘?
No. ‘Abdullah ibn ‘Umar (may Allah be pleased with him) died in Makkah in 73 AH (some narrations say 74 AH) and was buried there.
Sources
References
This guide to the dua for visiting Baqi‘ draws on the following sources.
- Sahih Muslim, no. 974: the dua of the Prophet ﷺ at Baqi‘ and the greeting taught to ‘Aishah (may Allah be pleased with her). sunnah.com
- Sunan al-Tirmidhi, no. 1053: greeting to the people of the graves of Madinah. sunnah.com
- Sunan Ibn Majah, no. 1546: lā tahrimnā ajrahum. sunnah.com
- Sahih Muslim, no. 972 (the prohibition of sitting on graves), no. 976 (visiting reminds of death) and no. 946 (the reward of qirats). sunnah.com
- Sahih al-Bukhari, no. 2778, 3749, 3803 and 4987, and Sunan al-Tirmidhi, no. 3768: facts in the wording of the greetings to notable figures. sunnah.com
- The Quran, Surah al-Hashr, verse 10. quran.com
- Al-Nawawi, al-Adhkar, chapter on what the visitor to graves recites. kalemtayeb.com
- Al-Nawawi, al-Majmu‘ 5/310, 5/311 and 8/275, and Mughni al-Muhtaj 2/57, as quoted by Dorar: the ruling on women visiting graves and wiping graves. dorar.net, dorar.net
- Federal Territory Mufti Office (Malaysia), Irsyad al-Fatwa Series 217 (8 March 2018, in Malay). muftiwp.gov.my
- Visit Madinah (official portal), Al-Baqi‘. visitmadinahsa.com
- Saudipedia, Al-Baqi‘ Cemetery. saudipedia.com
- Al Jazeera, Umrah Ramadan: yawmiyyat rihlah (27 February 2025, in Arabic). aljazeera.net
- House of Saud, guide to Masjid an-Nabawi (3 April 2026). houseofsaud.com
- Dar al-Ifta, Egypt, ‘Uthman ibn Maz‘un (in Arabic). dar-alifta.org, and Ibn Hajar, al-Isabah 1/209. shamela.ws
- Biographies of Abu Sa‘id al-Khudri and Sa‘id ibn Zaid (Usd al-Ghabah, as quoted by tarajm.com). tarajm.com, tarajm.com


