Visiting the Prophet’s Grave in Madinah: Salam, Duas, Etiquette and the Farewell Visit

How to visit the grave of the Prophet ﷺ step by step: salam to him, Abu Bakr and ‘Umar, the Rawdah permit, Quba, Uhud and the farewell visit.

This is a complete guide to visiting Madinah and the grave of the Prophet ﷺ: how to give salam to the Messenger of Allah ﷺ, Abu Bakr and ‘Umar, the etiquette at the grave, the Rawdah permit through Nusuk, visiting Quba and Uhud, and the farewell visit before you leave, according to the Shafi‘i school. May this guide help you, in sha Allah.

Editorial review: 24 October 2026 · English edition: 4 December 2026 · Expert fiqh review: in progress · Main references: al-Adhkar and al-Majmu‘ by Imam al-Nawawi, Mughni al-Muhtaj, Sahih al-Bukhari, Sahih Muslim, the Tabung Haji (Malaysia) Basic Hajj Course Notes 1448H (Module 1) and the announcements of the Rawdah rules (December 2025 and May 2026).

Summary

As you pass the grave of the Messenger of Allah ﷺ, say quietly: Assalāmu ‘alaika yā Rasūlallāh, meaning: peace be upon you, O Messenger of Allah. Then move a little to the right and give salam to Abu Bakr: Assalāmu ‘alaika yā Abā Bakr, then to ‘Umar: Assalāmu ‘alaika yā ‘Umar.

Visiting Madinah is sunnah. It is not a pillar or an obligation of Hajj or Umrah. Men can usually queue on the path past the grave without a booking (checked October 2026). A Nusuk permit is needed to pray in the Rawdah. Follow the 7 steps below, from arriving in Madinah to leaving through Bab al-Baqi‘.

Follow these steps

Visiting the Grave of the Messenger of Allah ﷺ: Step by Step

Follow the seven cards below one at a time, from the bus entering Madinah to leaving the mosque. Recitations on a beige background are the main recitations. The longer recitations are optional. Recite them if you have time.

If this happens

  • No Rawdah permit? You can still visit the grave. Pray tahiyyat al-masjid in any row, then queue for the grave. The permit is only for entering the Rawdah (see The Rawdah: Nusuk Permit and Entry Times).
  • Staff ask you to keep moving? Do not stop and do not touch the grille. A short salam is enough. Make your dua after you leave.
  • Someone asked you to convey their salam? Say Assalāmu ‘alaika yā Rasūlallāh min (that person’s name) (wording).
  • Missed the salam to Abu Bakr or ‘Umar? That is fine. Queue again at another time, or send salawat and salam from where you are.
  • A woman, or menstruating? The path in front of the grave is for male pilgrims. Women give salam during the women’s Rawdah slot or from the women’s section. A menstruating woman does not enter the mosque. Salawat and salam from outside still reach the Prophet ﷺ (see Visiting Guidance for Women).

Before you begin

Before going to Masjid an-Nabawi

Make wudu at the hotel. The toilets and wudu areas in the mosque courtyard are crowded at prayer times.

Wear clean, neat clothing. Men may wear perfume.

Silence your phone. Put it away while queuing in front of the grave.

Have a Rawdah permit? Save a screenshot of the QR code from the Nusuk app and check your slot time.

Jump to step1234567

1

Step 1 of 7

Arriving in Madinah

On the way

Send abundant salawat throughout the journey to Madinah. When the bus enters the city of Madinah, recite:

Dua on entering MadinahArranged by scholars

اللَّهُمَّ هَذَا حَرَمُ رَسُولِكَ، فَاجْعَلْهُ لِي وِقَايَةً مِنَ النَّارِ، وَأَمَانًا مِنَ الْعَذَابِ وَسُوءِ الْحِسَابِ

Allāhumma hādhā haramu rasūlika, faj‘alhu lī wiqāyatan minan-nār, wa amānan minal-‘adhābi wa sū’il-hisāb.

O Allah, this is the sanctuary of Your Messenger, so make it a protection for me from the Fire, and safety from punishment and from a bad reckoning.

Arranged by scholars, not a hadith. Quoted by Ibn al-Diya’ in Tarikh Makkah al-Musharrafah from some scholars. Imam al-Nawawi in al-Adhkar recommends sending abundant salawat when the city of Madinah comes into view.

Not memorised? Salawat is enough: Allāhumma salli ‘alā sayyidinā Muhammad.

At the hotel

Drop off your bags and rest if you are tired.

Make wudu, then go to Masjid an-Nabawi.

Arrived and made wudu? Step 1 is complete. Step 2 ↓

2

Step 2 of 7

Entering Masjid an-Nabawi

At the mosque gate

Enter through any gate. Women follow the signs to the women’s gates and section.

Step in with your right foot. Recite:

Dua for entering the mosqueSahih

اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ

Allāhummaftah lī abwāba rahmatik.

O Allah, open for me the doors of Your mercy.

Sahih Muslim, no. 713

If you wish, recite this longer version:

Dua for entering Masjid an-Nabawi (optional)Combined wording

بِسْمِ اللَّهِ وَعَلَى مِلَّةِ رَسُولِ اللَّهِ، رَبِّ أَدْخِلْنِي مُدْخَلَ صِدْقٍ وَأَخْرِجْنِي مُخْرَجَ صِدْقٍ وَاجْعَلْ لِي مِنْ لَدُنْكَ سُلْطَانًا نَصِيرًا، اللَّهُمَّ صَلِّ عَلَى سَيِّدِنَا مُحَمَّدٍ وَعَلَى آلِ سَيِّدِنَا مُحَمَّدٍ، وَاغْفِرْ لِي ذُنُوبِي، وَافْتَحْ لِي أَبْوَابَ رَحْمَتِكَ، وَأَدْخِلْنِي فِيهَا يَا أَرْحَمَ الرَّاحِمِينَ

Bismillāhi wa ‘alā millati Rasūlillāh. Rabbi adkhilnī mudkhala sidqin wa akhrijnī mukhraja sidqin, waj‘al lī min ladunka sultānan nasīrā. Allāhumma salli ‘alā sayyidinā Muhammadin wa ‘alā āli sayyidinā Muhammad, waghfir lī dhunūbī, waftah lī abwāba rahmatika, wa adkhilnī fīhā yā arhamar-rāhimīn.

Meaning and source

In the name of Allah and upon the religion of the Messenger of Allah. My Lord, cause me to enter in truth and to leave in truth, and grant me from Yourself a supporting authority. O Allah, send blessings upon our master Muhammad and the family of our master Muhammad. Forgive my sins, open for me the doors of Your mercy, and let me enter it, O Most Merciful of the merciful.

Arranged by scholars, combining several sources: Surah al-Isra’ 17:80, the dua for entering the mosque in Sahih Muslim, no. 713, and Sunan al-Tirmidhi, no. 314 (with a da‘if chain). It is not a single narration.

Inside? Step 2 is complete. Step 3 ↓

3

Step 3 of 7

Pray tahiyyat al-masjid

Pray two rak‘ahs

Before sitting down, pray two rak‘ahs of tahiyyat al-masjid in any row. Imam al-Nawawi mentions this prayer first, and only then going to the grave.

If the iqamah has already been called, join the obligatory prayer in congregation straight away. Tahiyyat al-masjid is fulfilled by that obligatory prayer.

If you have a Rawdah permit

The Rawdah is the area between the house of the Prophet ﷺ (now his grave) and his minbar (Sahih al-Bukhari, no. 1196). Go to the entrance according to your slot in the Nusuk app (current rules).

Inside, pray two sunnah rak‘ahs and make dua. If your slot falls in a time when prayer is prohibited (after the Fajr prayer until the sun has risen, when the sun is at its zenith before Zuhr, and after the Asr prayer), do not pray voluntary prayers in the Rawdah, because the exception to the prohibited times applies only in the Haram of Makkah. Dua, dhikr and reciting the Quran are enough. Your time inside is short, 20 minutes, so choose short duas. For example:

Quran

رَبَّنَا آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الْآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ

Rabbanā ātinā fid-dunyā hasanah, wa fil-ākhirati hasanah, wa qinā ‘adhāban-nār.

Our Lord, give us good in this world and good in the Hereafter, and protect us from the punishment of the Fire.

Surah al-Baqarah 2:201. A general dua, not a dua specific to the Rawdah.

There is no dua specific to the Rawdah in the hadith. Make dua for your needs in your own language.

Prayed? Step 3 is complete. Step 4 ↓

4

Step 4 of 7

Queue for the grave

Join the line

Men: the path to the grave usually starts from the direction of Bab al-Salam. Follow the signs and the staff’s instructions. This path usually does not need a Rawdah permit.

Women: see the If this happens box above.

The line moves slowly and does not stop. Have the salam you want to say ready.

Etiquette when passing the grave

Lower your voice. Do not push.

Do not touch, wipe or kiss the grille or the walls of the grave.

The grave of the Prophet ﷺ comes first. The graves of Abu Bakr and ‘Umar are to its right, a little further along the line.

In front of the grave of the Prophet ﷺ? Step 4 is complete. Step 5 ↓

5

Step 5 of 7

Salam to the Messenger of Allah ﷺ

Give salam

Face the grave, with your back to the qiblah. In a quiet voice, say:

Salam upon the Prophet ﷺReport of a companion

السَّلَامُ عَلَيْكَ يَا رَسُولَ اللَّهِ

Assalāmu ‘alaika yā Rasūlallāh.

Peace be upon you, O Messenger of Allah.

Al-Nawawi, al-Adhkar, section on visiting the grave of the Messenger of Allah ﷺ. This wording was also the practice of Ibn ‘Umar (may Allah be pleased with him) (Musannaf Ibn Abi Shaybah, no. 11915, with a sahih chain according to Ibn Hajar).

If the line is moving slowly and you have time, recite this longer salam:

Longer salam (optional)Combined wording

السَّلَامُ عَلَيْكَ يَا رَسُولَ اللَّهِ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ، السَّلَامُ عَلَيْكَ يَا نَبِيَّ اللَّهِ، السَّلَامُ عَلَيْكَ يَا صَفْوَةَ خَلْقِ اللَّهِ، السَّلَامُ عَلَيْكَ يَا حَبِيبَ اللَّهِ، أَشْهَدُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، وَأَنَّكَ عَبْدُهُ وَرَسُولُهُ، وَأَشْهَدُ أَنَّكَ بَلَّغْتَ الرِّسَالَةَ، وَأَدَّيْتَ الْأَمَانَةَ، وَنَصَحْتَ الْأُمَّةَ، وَجَاهَدْتَ فِي سَبِيلِ اللَّهِ، فَصَلَّى اللَّهُ عَلَيْكَ صَلَاةً دَائِمَةً إِلَى يَوْمِ الدِّينِ. اللَّهُمَّ آتِهِ الْوَسِيلَةَ وَالْفَضِيلَةَ وَالدَّرَجَةَ الرَّفِيعَةَ، وَابْعَثْهُ مَقَامًا مَحْمُودًا الَّذِي وَعَدْتَهُ، إِنَّكَ لَا تُخْلِفُ الْمِيعَادَ

Assalāmu ‘alaika yā Rasūlallāhi wa rahmatullāhi wa barakātuh. Assalāmu ‘alaika yā Nabiyyallāh. Assalāmu ‘alaika yā safwata khalqillāh. Assalāmu ‘alaika yā Habīballāh. Ashhadu an lā ilāha illallāhu wahdahū lā sharīka lah, wa annaka ‘abduhū wa rasūluh. Wa ashhadu annaka ballaghtar-risālah, wa addaital-amānah, wa nasahtal-ummah, wa jāhadta fī sabīlillāh. Fa sallallāhu ‘alaika salātan dā’imatan ilā yawmid-dīn. Allāhumma ātihil-wasīlata wal-fadīlah, wad-darajatar-rafī‘ah, wab‘ath-hu maqāman mahmūdanil-ladhī wa‘adtah, innaka lā tukhliful-mī‘ād.

Meaning and source

Peace be upon you, O Messenger of Allah, and the mercy of Allah and His blessings. Peace be upon you, O Prophet of Allah. Peace be upon you, O chosen one of Allah’s creation. Peace be upon you, O beloved of Allah. I bear witness that there is no god but Allah alone, with no partner, and that you are His servant and Messenger. I bear witness that you conveyed the message, fulfilled the trust, gave sincere counsel to the ummah and strove in the path of Allah. May Allah send blessings upon you that last until the Day of Judgement. O Allah, grant him al-wasilah, excellence and the high rank, and raise him to the praised station that You promised him. Truly You do not break Your promise.

Arranged by scholars, not a hadith. The phrases yā Habīballāh and ballaghtar-risālah, wa addaital-amānah, wa nasahtal-ummah match the wording in al-Adhkar. The wasilah dua at the end comes from the dua after the adhan (Sahih al-Bukhari, no. 614). The phrases wad-darajatar-rafī‘ah and innaka lā tukhliful-mī‘ād are additions.

Conveying salam on behalf of others

If someone asked you to convey their salam, mention each person by name:

Conveying salam on behalf of othersArranged by scholars

السَّلَامُ عَلَيْكَ يَا رَسُولَ اللَّهِ مِنْ فُلَانِ بْنِ فُلَانٍ

Assalāmu ‘alaika yā Rasūlallāh min (say the person’s name).

Peace be upon you, O Messenger of Allah, from (so-and-so, son or daughter of so-and-so).

Al-Nawawi, al-Adhkar, section on visiting the grave of the Messenger of Allah ﷺ.

Given salam? Step 5 is complete. Step 6 ↓

6

Step 6 of 7

Salam to Abu Bakr and ‘Umar

Salam to Abu Bakr al-Siddiq (may Allah be pleased with him)

Move about one cubit to the right. Say:

Companion narration

السَّلَامُ عَلَيْكَ يَا أَبَا بَكْرٍ

Assalāmu ‘alaika yā Abā Bakr.

Peace be upon you, O Abu Bakr.

The report from Ibn ‘Umar (may Allah be pleased with him) (Musannaf Ibn Abi Shaybah, no. 11915). The order of moving to the right is from al-Adhkar.

Longer salam (optional)Optional dua

السَّلَامُ عَلَيْكَ يَا خَلِيفَةَ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكَ يَا صَاحِبَ رَسُولِ اللَّهِ فِي الْغَارِ، السَّلَامُ عَلَيْكَ يَا أَمِينَ الْأَسْرَارِ، جَزَاكَ اللَّهُ عَنَّا أَفْضَلَ مَا جَزَى إِمَامًا عَنْ أُمَّةِ نَبِيِّهِ، فَلَقَدْ خَلَفْتَهُ أَحْسَنَ خَلَفٍ، وَسَلَكْتَ طَرِيقَهُ وَمِنْهَاجَهُ خَيْرَ سُلُوكٍ، وَنَصَرْتَ الْإِسْلَامَ، وَوَصَلْتَ الْأَرْحَامَ، وَلَمْ تَزَلْ قَائِمًا بِالْحَقِّ حَتَّى أَتَاكَ الْيَقِينُ، فَالسَّلَامُ عَلَيْكَ وَرَحْمَةُ اللَّهِ وَبَرَكَاتُهُ

Assalāmu ‘alaika yā khalīfata Rasūlillāh. Assalāmu ‘alaika yā sāhiba Rasūlillāhi fil-ghār. Assalāmu ‘alaika yā amīnal-asrār. Jazākallāhu ‘annā afdala mā jazā imāman ‘an ummati nabiyyih. Falaqad khalaftahū ahsana khalaf, wa salakta tarīqahū wa minhājahū khaira sulūk, wa nasartal-Islām, wa wasaltal-arhām, wa lam tazal qā’iman bil-haqqi hattā atākal-yaqīn. Fassalāmu ‘alaika wa rahmatullāhi wa barakātuh.

Meaning and source

Peace be upon you, O successor of the Messenger of Allah. Peace be upon you, O companion of the Messenger of Allah in the cave. Peace be upon you, O keeper of secrets. May Allah reward you on our behalf with the best reward ever given to a leader on behalf of the ummah of his Prophet. You succeeded him in the best way, followed his path and method in the best manner, supported Islam and kept the ties of kinship, and you never ceased to stand for the truth until death came to you. So peace be upon you, 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.

Salam to ‘Umar ibn al-Khattab (may Allah be pleased with him)

Move another cubit to the right. Say:

Companion narration

السَّلَامُ عَلَيْكَ يَا عُمَرُ

Assalāmu ‘alaika yā ‘Umar.

Peace be upon you, O ‘Umar.

Based on the same report from Ibn ‘Umar (may Allah be pleased with him). He said yā abatāh (O my father) because ‘Umar was his father. We say the name of ‘Umar.

Longer salam (optional)Optional dua

السَّلَامُ عَلَيْكَ يَا مُظْهِرَ الْإِسْلَامِ، السَّلَامُ عَلَيْكَ يَا فَارُوقُ، السَّلَامُ عَلَيْكَ يَا مَنْ نَطَقْتَ بِالصَّوَابِ، وَكَفَلْتَ الْأَيْتَامَ، وَوَصَلْتَ الْأَرْحَامَ، وَقَوِيَ بِكَ الْإِسْلَامُ، السَّلَامُ عَلَيْكَ وَرَحْمَةُ اللَّهِ

Assalāmu ‘alaika yā muẓhiral-Islām. Assalāmu ‘alaika yā Fārūq. Assalāmu ‘alaika yā man nataqta bis-sawāb, wa kafaltal-aitām, wa wasaltal-arhām, wa qawiya bikal-Islām. Assalāmu ‘alaika wa rahmatullāh.

Meaning and source

Peace be upon you, O you who made Islam manifest. Peace be upon you, O al-Faruq (the one who distinguishes truth from falsehood). Peace be upon you, O you who spoke what is right, took care of orphans and kept the ties of kinship, and through whom Islam became strong. Peace be upon you, and the mercy 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.

Given salam to both companions? Step 6 is complete. Step 7 ↓

7

Step 7 of 7

Leave through Bab al-Baqi‘

Leaving the mosque

The line ends at Bab al-Baqi‘. Step out with your left foot and recite:

Dua for leaving the mosqueSahih

اللَّهُمَّ إِنِّي أَسْأَلُكَ مِنْ فَضْلِكَ

Allāhumma innī as’aluka min fadlik.

O Allah, I ask You of Your bounty.

Sahih Muslim, no. 713

Pray for yourself and your family

Imam al-Nawawi recommends returning to stand in front of the grave to make dua. If the line does not allow this, make dua after leaving or inside the mosque, facing the qiblah.

Pray for yourself, your parents, your family, those who have been good to you and all Muslims. For example:

Quran

رَبَّنَا ٱغۡفِرۡ لِي وَلِوَٰلِدَيَّ وَلِلۡمُؤۡمِنِينَ يَوۡمَ يَقُومُ ٱلۡحِسَابُ

Rabbanaghfir lī wa liwālidayya wa lil-mu’minīna yauma yaqūmul-hisāb.

Our Lord, forgive me, my parents and the believers on the day the reckoning takes place.

Surah Ibrahim 14:41

Then make dua for your needs in your own language.

Going to Jannat al-Baqi‘?

Jannat al-Baqi‘ is to the east of the mosque, near this gate. The duas and greetings there are in a dedicated guide:

Full guideDua for Visiting Jannat al-Baqi‘How to visit, with the duas and greetings at Baqi‘ step by step

Your visit to the grave is complete. Alhamdulillah. Next ↓

Full guideDua for Entering Masjid an-NabawiThe duas for entering and leaving the mosque, and tahiyyat al-masjid

Also in MadinahFriday Prayer in MadinahGates, Rawdah plans on Friday and arriving early

Before going home

The Farewell Visit to Madinah Before Leaving

Before leaving Madinah, whether to return home or to travel to Makkah, it is sunnah to bid farewell to Masjid an-Nabawi and the grave of the Messenger of Allah ﷺ. The farewell visit to Madinah is sunnah. It is different from Tawaf al-Wada in Makkah, which is obligatory and requires a dam if it is left without a valid excuse. Women who are menstruating or in postnatal bleeding are exempt from it.

1. Pray two rak‘ahs

Pray two sunnah rak‘ahs anywhere in Masjid an-Nabawi, then make whatever dua you like. If it is a time when prayer is prohibited (after the Fajr prayer until the sun has risen, when the sun is at its zenith before Zuhr, and after the Asr prayer), pray the two rak‘ahs only with the intention of tahiyyat al-masjid as soon as you enter the mosque, before sitting down.

2. Give salam at the grave

If you have time, queue once more and give salam as in steps 5 and 6:

Companion narration

السَّلَامُ عَلَيْكَ يَا رَسُولَ اللَّهِ

Assalāmu ‘alaika yā Rasūlallāh.

Companion narration

السَّلَامُ عَلَيْكَ يَا أَبَا بَكْرٍ

Assalāmu ‘alaika yā Abā Bakr.

Companion narration

السَّلَامُ عَلَيْكَ يَا عُمَرُ

Assalāmu ‘alaika yā ‘Umar.

Ibn ‘Umar (may Allah be pleased with him) did this every time he was about to travel from Madinah: he entered the mosque, prayed, then gave salam (Musannaf Ibn Abi Shaybah, no. 11915).

3. Recite the farewell dua

After giving salam, or where you make dua facing the qiblah, recite:

Farewell dua for MadinahArranged by scholars

اللَّهُمَّ لَا تَجْعَلْ هَذَا آخِرَ الْعَهْدِ بِحَرَمِ رَسُولِكَ، وَيَسِّرْ لِي الْعَوْدَ إِلَى الْحَرَمَيْنِ سَبِيلًا سَهْلَةً بِمَنِّكَ وَفَضْلِكَ، وَارْزُقْنِي الْعَفْوَ وَالْعَافِيَةَ فِي الدُّنْيَا وَالْآخِرَةِ، وَرُدَّنَا سَالِمِينَ غَانِمِينَ إِلَى أَوْطَانِنَا آمِنِينَ

Allāhumma lā taj‘al hādhā ākhiral-‘ahdi bi harami rasūlik, wa yassir liyal-‘auda ilal-haramaini sabīlan sahlah, bimannika wa fadhlik, warzuqnil-‘afwa wal-‘āfiyata fid-dunyā wal-ākhirah, wa ruddanā sālimīna ghānimīna ilā autāninā āminīn.

O Allah, do not make this my last visit to the sanctuary of Your Messenger. Make easy for me the way to return to the two sanctuaries, by Your favour and bounty. Grant me pardon and well-being in this world and the Hereafter, and return us to our homelands safe, rewarded and secure.

Al-Nawawi, al-Adhkar, section on visiting the grave of the Messenger of Allah ﷺ. Arranged by scholars, not a hadith.

If you have time, also recite this dua:

Farewell dua (optional)Combined wording

اللَّهُمَّ صَلِّ عَلَى سَيِّدِنَا مُحَمَّدٍ وَعَلَى آلِ سَيِّدِنَا مُحَمَّدٍ، اللَّهُمَّ لَا تَجْعَلْهُ آخِرَ الْعَهْدِ مِنْ هَذَا الْمَكَانِ الشَّرِيفِ، وَارْزُقْنِي الْعَوْدَةَ إِلَيْهِ فِي خَيْرٍ وَعَافِيَةٍ وَصِحَّةٍ وَسَلَامَةٍ، إِنْ عِشْتُ إِنْ شَاءَ اللَّهُ جِئْتُ، وَإِنْ مُتُّ أَوْدَعْتُ عِنْدَكَ شَهَادَتِي وَأَمَانَتِي وَعَهْدِي وَمِيثَاقِي مِنْ يَوْمِنَا هَذَا إِلَى يَوْمِ الْقِيَامَةِ، وَهِيَ شَهَادَةُ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، وَشَهَادَةُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ. سُبْحَانَ رَبِّكَ رَبِّ الْعِزَّةِ عَمَّا يَصِفُونَ، وَسَلَامٌ عَلَى الْمُرْسَلِينَ، وَالْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ

Allāhumma salli ‘alā sayyidinā Muhammadin wa ‘alā āli sayyidinā Muhammad. Allāhumma lā taj‘alhu ākhiral-‘ahdi min hādhal-makānish-sharīf, warzuqnil-‘awdata ilaihi fī khairin wa ‘āfiyatin wa sihhatin wa salāmah. In ‘ishtu in shā’ Allāhu ji’tu, wa in muttu awda‘tu ‘indaka shahādatī wa amānatī wa ‘ahdī wa mīthāqī min yawminā hādhā ilā yawmil-qiyāmah, wa hiya shahādatu an lā ilāha illallāhu wahdahū lā sharīka lah, wa shahādatu anna Muhammadan ‘abduhū wa rasūluh. Subhāna rabbika rabbil-‘izzati ‘ammā yasifūn, wa salāmun ‘alal-mursalīn, walhamdu lillāhi rabbil-‘ālamīn.

Meaning and source

O Allah, send blessings upon our master Muhammad and his family. O Allah, do not make this my last visit to this noble place, and grant me a return here in goodness, well-being, health and safety. If I live, I will come again, if Allah wills. If I die, I entrust to You my testimony, my trust, my covenant and my pledge from this day until the Day of Resurrection, which is the testimony that there is no god but Allah alone, with no partner, and the testimony that Muhammad is His servant and Messenger. Glory be to your Lord, the Lord of might, above what they describe. Peace be upon the messengers, and all praise is for Allah, Lord of the worlds.

A dua arranged by scholars that is common in visiting guides, not the wording of a hadith. Its meaning is good. Its closing is Surah al-Saffat 37:180 to 182.

4. Set off

To Makkah for Umrah: put on your ihram clothing at the hotel. Make the niyyah at Bir Ali, the miqat for those coming from Madinah (miqat when coming from Madinah).

Returning home: check your passport, ticket and belongings before the bus leaves. See also the order of the Umrah journey.

Visits outside the mosque

Visiting Masjid Quba and Mount Uhud

Both places are usually included in agencies’ visiting schedules. At Quba there is a voluntary prayer with a great reward. At Uhud there is the greeting to the martyrs.

Masjid Quba in Madinah with its white minarets
Masjid Quba, the first mosque built by the Messenger of Allah ﷺ.

Masjid Quba

Before setting off

Make wudu at the hotel. The reward in the hadith below is mentioned for the person who purifies himself at home, then comes to Quba.

At Masjid Quba

Enter with your right foot and recite the dua for entering the mosque:

Sahih

اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ

Allāhummaftah lī abwāba rahmatik.

Pray two sunnah rak‘ahs (tahiyyat al-masjid). Then make dhikr and dua.

مَنْ تَطَهَّرَ فِي بَيْتِهِ، ثُمَّ أَتَى مَسْجِدَ قُبَاءٍ، فَصَلَّى فِيهِ صَلَاةً، كَانَ لَهُ كَأَجْرِ عُمْرَةٍ

“Whoever purifies himself in his house, then comes to Masjid Quba and prays in it, will have a reward like that of an Umrah.”

Sunan Ibn Majah, no. 1412 (hasan)

Masjid Quba is the first mosque built by the Prophet ﷺ after the Hijrah, about 3 km south of Madinah (Tabung Haji (Malaysia) Basic Hajj Course Notes 1448H, Module 1).

Many commentators say it is the mosque founded on taqwa in Surah al-Tawbah 9:108, although in Sahih Muslim, no. 1398 the Prophet ﷺ pointed to Masjid an-Nabawi as that mosque. Scholars reconcile the two.

The Prophet ﷺ came to Quba every Saturday, sometimes walking and sometimes riding (Sahih al-Bukhari, no. 1193).

Mount Uhud and the graves of the martyrs

In front of the graves of the martyrs

Face the area of the graves. Recite the greeting to the people of the graves:

Greeting to the people of the gravesSahih

السَّلَامُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ، وَإِنَّا إِنْ شَاءَ اللَّهُ لَلَاحِقُونَ، أَسْأَلُ اللَّهَ لَنَا وَلَكُمُ الْعَافِيَةَ

Assalāmu ‘alaikum ahlad-diyāri minal-mu’minīna wal-muslimīn, wa innā in shā’ Allāhu lalāhiqūn, as’alullāha lanā wa lakumul-‘āfiyah.

Peace be upon you, O dwellers of these homes (the graves), among the believers and the Muslims. And we, if Allah wills, will join you. I ask Allah for well-being for us and for you.

Sahih Muslim, no. 975

Then, if you wish, give salam to the martyrs of Uhud and to Hamzah:

Greeting to the martyrs of Uhud (optional)Optional dua

السَّلَامُ عَلَيْكُمْ يَا شُهَدَاءَ أُحُدٍ، اللَّهُمَّ اجْزِهِمْ عَنِ الْإِسْلَامِ وَأَهْلِهِ أَفْضَلَ الْجَزَاءِ، وَارْفَعْ دَرَجَاتِهِمْ، وَأَكْرِمْ مَقَامَهُمْ، بِفَضْلِكَ وَكَرَمِكَ يَا أَكْرَمَ الْأَكْرَمِينَ

Assalāmu ‘alaikum yā shuhadā’a Uhud. Allāhummajzihim ‘anil-Islāmi wa ahlihī afdalal-jazā’, warfa‘ darajātihim, wa akrim maqāmahum, bifadlika wa karamika yā akramal-akramīn.

Meaning and source

Peace be upon you, O martyrs of Uhud. O Allah, reward them on behalf of Islam and its people with the best reward, raise their rank and honour their station, by Your favour and generosity, O Most Generous of the generous.

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.

Salam upon Hamzah (optional)Optional dua

السَّلَامُ عَلَيْكَ يَا عَمَّ النَّبِيِّ سَيِّدَنَا حَمْزَةَ بْنَ عَبْدِ الْمُطَّلِبِ، السَّلَامُ عَلَيْكَ يَا أَسَدَ اللَّهِ وَأَسَدَ رَسُولِ اللَّهِ، السَّلَامُ عَلَيْكَ يَا سَيِّدَ الشُّهَدَاءِ

Assalāmu ‘alaika yā ‘ammannabiyyi sayyidanā Hamzata bna ‘Abdil-Muttalib. Assalāmu ‘alaika yā asadallāhi wa asada Rasūlillāh. Assalāmu ‘alaika yā sayyidash-shuhadā’.

Meaning and source

Peace be upon you, O uncle of the Prophet, our master Hamzah ibn ‘Abd al-Muttalib. Peace be upon you, O lion of Allah and lion of His Messenger. Peace be upon you, O master of the martyrs.

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 archers’ hill (Jabal al-Rumat)

A small hill near the graves of the martyrs. This is where the Prophet ﷺ placed 50 archers under the command of ‘Abdullah ibn Jubair and ordered them not to leave their position (Sahih al-Bukhari, no. 3039).

The Battle of Uhud took place in the 3rd year after the Hijrah. According to the sirah narrations, about 700 Muslim fighters faced 3,000 fighters of the Makkan idolaters, and about 70 companions were martyred. Among them were Hamzah ibn ‘Abd al-Muttalib, the uncle of the Prophet ﷺ, Mus‘ab ibn ‘Umair and ‘Abdullah ibn Jahsh.

Other places to visit

  • Masjid al-Qiblatain. Associated with the change of the qiblah from Bait al-Maqdis to the Kaaba (Surah al-Baqarah 2:144). Sirah narrations differ on which prayer and which mosque it happened in.
  • Masjid al-Jumu‘ah. According to the sirah narrations, where the Prophet ﷺ led the first Friday prayer on the way from Quba to Madinah.
  • Masjid Bir Ali (Dhul Hulaifah). The miqat for those entering ihram from Madinah (miqat guide).
  • The Khandaq area. The site of the trench dug to face the army of the Confederates (al-Ahzab) in the 5th year after the Hijrah. The Confederates were made up of Quraysh and Ghatafan, urged on by the Jewish tribe of Banu al-Nadir. The trench no longer exists.
  • Historic wells. Most are not open to the public. Confirm with your mutawwif before planning.

Latest info

The Rawdah: Nusuk Permit and Entry Times

مَا بَيْنَ بَيْتِي وَمِنْبَرِي رَوْضَةٌ مِنْ رِيَاضِ الْجَنَّةِ، وَمِنْبَرِي عَلَى حَوْضِي

“What is between my house and my minbar is one of the gardens of Paradise, and my minbar is over my Pool.”

Sahih al-Bukhari, no. 1196

Current rules · Reviewed October 2026

Entering the Rawdah: a Nusuk permit is required

  • A permit is required through the Nusuk app, once every 365 days for the same person. Pilgrims already near the mosque can apply through the fast-track option in the app.
  • Entrance: the southern courtyard of the mosque, opposite the Makkah Gate (No. 37). Follow the designated route.
  • Men: 2.00 am until Fajr, and 11.20 am until Isha. Women: after Fajr until 11.00 am, and after Isha until 2.00 am. On Fridays, the men’s daytime session starts at 9.00 am and the women’s morning session ends at 9.00 am.
  • Time inside: 20 minutes for each group.
  • Elderly pilgrims are allowed to enter in a manual wheelchair, subject to conditions.

Source: announcement of the General Authority for the Affairs of the Two Holy Mosques, reported by Bernama and Okaz (5 December 2025). Times and the length of the visit follow the announcement of Masjid an-Nabawi through the Saudi Press Agency (24 May 2026). Rules may change. Check your slot in the Nusuk app and follow the staff’s instructions.

Making dua in the Rawdah is very good because of the honour of the place, but there is no evidence that it is the only place in Madinah where dua is answered, and there is no dua specific to the Rawdah in the hadith. A Rawdah permit is not needed to pray in other parts of Masjid an-Nabawi, nor to give salam on the path past the grave. For how to book, see How to Book the Rawdah on Nusuk. For what to do inside, see Dua in the Rawdah.

Etiquette & rulings

Etiquette of Visiting the Grave in the Shafi‘i School

Imam al-Nawawi set out the visit to the grave as an ordered sequence of steps in al-Adhkar. The steps above follow this order, adapted to today’s queuing route:

The wall of the grave of the Messenger of Allah ﷺ in Masjid an-Nabawi with the verse of Surah al-Hujurat on lowering the voice
On the Muwajahah wall is written Surah al-Hujurat, verse 2: the prohibition of raising one’s voice in the presence of the Prophet ﷺ.
  1. Pray tahiyyat al-masjid first. Only then go to the grave.
  2. Face the grave, with your back to the qiblah, about four cubits from the wall of the grave.
  3. Give salam in a moderate voice, without raising your voice.
  4. Convey the salam of others if someone asked you to.
  5. Move one cubit to the right to give salam to Abu Bakr, then another cubit for ‘Umar.
  6. Return to stand in front of the grave of the Prophet ﷺ and make dua for yourself, your parents, your friends, those who have been good to you and all Muslims, while praising Allah and sending salawat.

In al-Majmu‘ (8/275), Imam al-Nawawi stresses several prohibitions at the grave of the Prophet ﷺ:

  • Do not perform tawaf around or circle the grave.
  • It is disliked (makruh) to press the stomach or back against the wall of the grave.
  • It is disliked (makruh) to wipe the grave with the hand or to kiss it.
  • The proper manner is to stand at a distance, as one would stand at a distance from him if he were still alive.

Women

In the Shafi‘i school, it is generally disliked (makruh) for women to visit graves (al-Majmu‘ and Minhaj al-Talibin). The grave of the Prophet ﷺ is an exception. Mughni al-Muhtaj states that visiting his grave is among the acts that bring one closest to Allah, for men and women.

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, Federal Territory Mufti Office, Malaysia, in Malay).

Tabung Haji (Malaysia) describes the area in front of the grave as the place where male pilgrims give salam (Basic Hajj Course Notes 1446H, Module 10). Women usually give salam during the women’s Rawdah slot, or from the nearest women’s section. Confirm the current arrangement with the female staff at the mosque.

A woman who is menstruating or in postnatal bleeding does not enter the mosque. She may send salawat and salam from outside the mosque or from the hotel. The Prophet ﷺ said that the salawat of his ummah reaches him wherever they are (Sunan Abi Dawud, no. 2042, sahih).

Evidence

Virtues of Madinah and Masjid an-Nabawi

This table lists the commonly cited hadiths on these virtues, with their reference numbers and status. The numbers follow sunnah.com.

VirtueNarrationStatus
One prayer in Masjid an-Nabawi is better than 1,000 prayers in other mosques, except al-Masjid al-HaramSahih al-Bukhari, no. 1190Sahih
Between the house and the minbar of the Prophet ﷺ is a garden of Paradise (the Rawdah)Sahih al-Bukhari, no. 1196Sahih
The base of the minbar of the Prophet ﷺ is fixed in ParadiseSunan al-Nasa’i, no. 696Sahih
The dua of the Prophet ﷺ for Madinah to have twice the blessing of MakkahSahih al-Bukhari, no. 1885Sahih
Whoever is patient with the hardships of Madinah, the Prophet ﷺ will be an intercessor or witness for himSahih Muslim, no. 1377Sahih
Whoever is able to die in Madinah, the Prophet ﷺ will intercede for himSunan al-Tirmidhi, no. 3917Hasan
Prayer in Masjid Quba carries the reward of an UmrahSunan Ibn Majah, no. 1412Hasan
Praying 40 consecutive prayers (Arba‘in) is recorded as freedom from the Fire and from hypocrisyMusnad Ahmad, no. 12583Da‘if according to Ibn Baz. Al-Tirmidhi judged a similar narration not to be well preserved
Whoever visits the grave of the Prophet ﷺ, his intercession is guaranteed for himAl-Daraqutni and al-BazzarDisputed

The Arba‘in prayers are not a condition of visiting Madinah and are not part of Umrah or Hajj. If your schedule allows it, praying in congregation in Masjid an-Nabawi is still a deed of great reward, based on the sahih hadith of the 1,000 prayers. If you cannot complete 40 prayers, your visit is not deficient.

Status of the hadith

The hadith “Whoever visits my grave, my intercession is guaranteed for him”

Those who graded it weak

Al-Bayhaqi graded it da‘if, and Ibn Khuzaimah doubted its authenticity.

Those who accepted it

Al-Dhahabi judged its chains mildly weak but mutually strengthening. Taqi al-Din al-Subki accepted it in Shifa’ al-Siqam.

In practice: visiting the grave of the Prophet ﷺ remains sunnah in the Shafi‘i school and was practised by the companions, such as Ibn ‘Umar (may Allah be pleased with him). This ruling does not depend on this disputed hadith.

Q&A

Frequently Asked Questions

Do I need a permit to visit the grave of the Prophet ﷺ?

For men, the path for giving salam in front of the grave usually does not require a Rawdah permit. A Nusuk permit is needed to enter and pray in the Rawdah, once every 365 days (announcement of December 2025). Follow the signs and the staff’s instructions on site.

May women visit the grave of the Prophet ﷺ?

Yes. Although the Shafi‘i school considers it generally disliked for women to visit graves, the grave of the Prophet ﷺ is an exception, and visiting it is among the acts that bring one closest to Allah, for men and women (Mughni al-Muhtaj and Irsyad al-Fatwa Series 217). Women usually give salam during the women’s Rawdah slot or from the women’s section.

What is a short salam to the Messenger of Allah ﷺ?

Assalāmu ‘alaika yā Rasūlallāh, meaning: peace be upon you, O Messenger of Allah. Imam al-Nawawi mentions this wording in al-Adhkar, and Ibn ‘Umar (may Allah be pleased with him) practised it. It is enough if the line is moving quickly.

How do I convey salam on behalf of others?

Say Assalāmu ‘alaika yā Rasūlallāh min, followed by the person’s name and their father’s name. Repeat for each person. This wording is from al-Adhkar.

Is it obligatory to pray 40 prayers (Arba‘in) in Masjid an-Nabawi?

It is not obligatory and it is not a condition of the visit. The hadith of the 40 prayers in Musnad Ahmad, no. 12583 is graded da‘if by some scholars. Praying in congregation in Masjid an-Nabawi still carries a great reward, based on the sahih hadith of the 1,000 prayers (Sahih al-Bukhari, no. 1190).

Is the farewell visit to Madinah obligatory?

No. It is sunnah: pray two rak‘ahs, give salam at the grave and recite the dua before leaving Madinah (al-Adhkar). What is obligatory is Tawaf al-Wada before leaving Makkah, except for women who are menstruating or in postnatal bleeding.

Sources

References

  1. Federal Territory Mufti Office (Malaysia), Irsyad al-Fatwa Series 217 (in Malay): the ruling on women visiting graves (quoting al-Fiqh al-Manhaji 1/266). muftiwp.gov.my
  2. Al-Nawawi, al-Adhkar, the Book of the Adhkar of Hajj, section on visiting the grave of the Messenger of Allah ﷺ and the farewell dua for Madinah. kalemtayeb.com
  3. Al-Nawawi, al-Majmu‘ Sharh al-Muhadhdhab, 8/275: the prohibition of tawaf around, touching and kissing the grave (as quoted by Dorar). dorar.net
  4. The report of Ibn ‘Umar (may Allah be pleased with him) giving salam to the Prophet ﷺ, Abu Bakr and ‘Umar: Musannaf Ibn Abi Shaybah, no. 11915, Musannaf ‘Abd al-Razzaq, no. 6724, and al-Bayhaqi, no. 10570. dorar.net
  5. Sahih Muslim, no. 713: the duas for entering and leaving the mosque. sunnah.com
  6. Sahih Muslim, no. 975: greeting to the people of the graves. sunnah.com
  7. Sahih al-Bukhari, no. 1190 and 1196: the 1,000 prayers and the Rawdah. sunnah.com
  8. Sahih al-Bukhari, no. 1885, Sahih Muslim, no. 1377, Sunan al-Tirmidhi, no. 3917, and Sunan al-Nasa’i, no. 696: the virtues of Madinah and the minbar. sunnah.com
  9. Sunan Ibn Majah, no. 1412, and Sahih al-Bukhari, no. 1193: Masjid Quba. sunnah.com
  10. Sahih al-Bukhari, no. 3039: the archers at Uhud. sunnah.com
  11. Sahih al-Bukhari, no. 614 (the dua after the adhan), Sunan al-Tirmidhi, no. 314 (dua for entering the mosque, da‘if) and Sunan Abi Dawud, no. 2042 (salawat reaches him wherever one is). sunnah.com
  12. The Quran: Surah al-Isra’ 17:80, Ibrahim 14:41 and al-Saffat 37:180 to 182. quran.com
  13. Ibn al-Diya’, Tarikh Makkah al-Musharrafah wa al-Masjid al-Haram wa al-Madinah al-Sharifah wa al-Qabr al-Sharif: the dua on entering Madinah. shamela.ws
  14. Musnad Ahmad, no. 12583 (the hadith of the 40 prayers) and the grading of Ibn Baz. dorar.net
  15. HadithAnswers, Hadiths that encourage visiting the grave of Rasulullah: the status of the hadith “man zāra qabrī”. hadithanswers.com
  16. Mughni al-Muhtaj, al-Majmu‘ and Minhaj al-Talibin, sections on women visiting graves (as quoted). abohosein.blogspot.com
  17. Tabung Haji (Malaysia), Nota Kursus Asas Haji 1448H (Basic Hajj Course Notes, in Malay), Module 1: History and Introduction to the Holy Lands of Makkah and Madinah. Tabung Haji e-Bimbingan (log in as a guest)
  18. Bernama, Rawdah visit permit valid once every 365 days (5 December 2025). bernama.com
  19. Okaz, announcement of Rawdah visiting times (5 December 2025, in Arabic). okaz.com.sa
  20. Saudi Press Agency, Rawdah visiting times (24 May 2026): daily and Friday times and the 20-minute visit. spa.gov.sa

Written by

Muhamad Naim Abd Manaf

Founder of AkuIslam. Writing worship guides since 2010 in plain language, with references that are checked.

اِقْرَأْ أَيْضًا

Related Reading

Chosen based on this article

Share your thoughts or questions

Your email address will not be published. Required fields are marked *