Madinah & ziyarah
Visiting the city of the Prophet ﷺ

Madinah & ziyarah.

A visit to Masjid al-Nabawi is not part of Hajj. It is a separate, beloved act — and it has its own etiquette.

First, the fiqh

The visit is to the mosque, not the grave.

The Prophet ﷺ said: "Do not undertake a journey except to three mosques: the Sacred Mosque, my mosque, and Masjid al-Aqsa." (Bukhari 1189, Muslim 1397) The travel intention is to pray in Masjid al-Nabawi. Greeting the Prophet ﷺ at his grave is then performed as part of that visit.

This nuance matters: the four schools of Sunnī fiqh affirm visiting the grave is mustahab (recommended) once you are there. Ibn Taymiyyah held the journey itself should not be intended specifically for the grave. The majority of later Hanafi, Maliki, and Shafi'i scholars permit either intention. Either way — the mosque is the destination.

When you arrive at the mosque

Entering Masjid al-Nabawi

  • Enter with the right foot first, in a state of wudu.
  • Recite the standard mosque-entry dua: "Allahumma-ftah li abwaba rahmatik" (O Allah, open for me the doors of Your mercy).
  • Pray two raka'ahs of tahiyyat al-masjid before sitting. In the Rawdah area (between the Prophet's ﷺ pulpit and his chamber) is preferred — but every part of the mosque is honored.
Greeting the Prophet ﷺ

The salam at the grave

Stand respectfully, facing the grilles (not the qiblah at this moment), and offer the salam:

السَّلَامُ عَلَيْكَ يَا رَسُولَ اللَّهِ، اللَّهُمَّ صَلِّ وَسَلِّمْ عَلَى مُحَمَّدٍ وَعَلَى آلِ مُحَمَّدٍ. السَّلَامُ عَلَيْكَ يَا أَبَا بَكْرٍ، السَّلَامُ عَلَيْكَ يَا عُمَرَ.

As-salamu 'alayka ya Rasula-llah. Allahumma salli wa sallim 'ala Muhammadin wa 'ala ali Muhammad. As-salamu 'alayka ya Aba Bakr. As-salamu 'alayka ya 'Umar.

Then step a little to the right to greet Abu Bakr (raḍiyallahu 'anhu), then again to greet 'Umar (raḍiyallahu 'anhu).

To make personal dua: step away from the grilles and turn to face the qiblah. The salam is offered facing the grave; supplication is made facing Allah.

Common mistakes to avoid

What scholars caution against

  • Touching, kissing, or rubbing the grilles. Not from the practice of the companions and not permitted by the four schools.
  • Calling on the Prophet ﷺ for help instead of Allah. Dua is to Allah alone. Sending salawat upon the Prophet ﷺ is encouraged; asking him directly to grant your needs is not.
  • Raising the voice near the grave. Qur'an 49:2 instructs against raising voices above the Prophet's — scholars extended this to his resting place.
  • Pushing through crowds to reach the front. The reward is in the visit, not the proximity. Crowd injuries near the Rawdah are common.
The Rawdah

A reservation, not a queue

The area between the Prophet's ﷺ pulpit and his chamber is the Rawdah, of which he said: "What is between my house and my pulpit is a garden from the gardens of Paradise." (Bukhari 1196, Muslim 1391) Access has been managed by appointment-only via the Nusuk app since 2022 — book a slot before you arrive.

Slots are 10–20 minutes. Time is short; pray two raka'ahs, make dua, and step out so the next group can enter. The barakah is in the prayer, not the duration.

Mosque etiquette in Madinah

Forty prayers — fact-check

A widely-circulated hadith promises forgiveness for praying forty consecutive prayers in Masjid al-Nabawi. Scholars differ on its grading — al-Albani graded it weak (da'if); others accept it as hasan. You do not need to plan your trip around forty prayers. The authentic hadith (Bukhari 1190) says one prayer in this mosque is better than a thousand elsewhere, except Masjid al-Haram — that virtue applies to a single prayer.

Other places to visit

Beyond Masjid al-Nabawi

  • Quba mosque. The Prophet ﷺ said praying two raka'ahs there is equal to an Umrah (Ibn Majah 1412, hasan). About 6 km from Masjid al-Nabawi — accessible by bus or taxi.
  • Mount Uhud & the martyrs' graveyard. Visit, reflect, and send salam — there is no required ritual at this site.
  • Al-Baqi cemetery. Many companions and family members of the Prophet ﷺ are buried here. Quiet, respectful visit; standard cemetery dua: "As-salamu 'alaykum ahla-d-diyari mina-l-mu'minin wa-l-muslimin…"
A note on intention

The Prophet ﷺ said the visitor who sends salam upon him will have it returned to them (Abu Dawud 2041). Whether you visit before Hajj, after Hajj, or as an entirely separate trip — the visit is its own act of love and reverence. There is no fixed ritual sequence and no obligatory dua you must memorize. Pray, send salam, and supplicate as the heart moves you.