Hajj CourseCourse

Spotted a mistake or something not working on this page? Tell us

Module 13 · Lesson 1 of 5

Visiting Madinah and the Prophet's Mosque

The ruling of visiting the Prophet's Mosque and how it relates to Hajj, the authentic virtues of Madinah, the Rawdah, and how to greet the Prophet ﷺ at his grave as the Sunnah teaches.

  • 10 min read
  • 4 checks
  • 1 picture
  • Updated

Most pilgrims who travel from far away also go to Madinah, the city of the Messenger of Allah ﷺ. It is a journey of love, and love needs knowledge: the same Prophet ﷺ whose Mosque you will pray in taught exactly how he wished to be honoured after his death. This lesson gives you the ruling, the virtues that are authentic, and the manner of the visit step by step.

Is the visit part of Hajj?

Ibn Baz explains that pilgrims join the two only because a second journey from a distant country would be hard, not because one depends on the other 1. The visit may be an hour, a day or many days: nothing sets its length 2.

The meaning

Mounts are not saddled for a journey except to three mosques: al-Masjid al-Haram, the Mosque of the Messenger ﷺ, and al-Masjid al-Aqsa.

Hadith Narrated by Abu Hurayrah Sahih al-Bukhari 1189 Sahih

Shaykh 'Abd al-'Aziz ibn Baz

Visiting the Prophet's Mosque is recommended, not obligatory, and has no connection with Hajj: it may be done at any time, before Hajj or after it. The journey is made for the Mosque; once in Madinah a man greets the Prophet ﷺ and his two Companions, and visits al-Baqi', the martyrs of Uhud and the mosque of Quba. The report 'whoever performs Hajj and does not visit me has shunned me' is false and has no sound basis.

Scholar Fatawa Nur 'ala al-Darb

Check your understanding

Visiting Madinah is one of the obligations of Hajj, so a pilgrim who goes home without it owes a dam.

True or false?

  • True
  • False
Show the answer

False

The visit is a sunnah on its own, at any time of the year. It is not a pillar, an obligation or a sunnah of Hajj, so nothing is owed for leaving it.

What you intend when you travel

The Prophet ﷺ said that mounts are saddled for a journey to three mosques only: al-Masjid al-Haram, his own Mosque, and al-Masjid al-Aqsa 3 4. So when you set out for Madinah, intend to visit and pray in the Prophet's Mosque. Once you are there, greeting the Prophet ﷺ and his two Companions is part of your visit 5.

The virtues of Madinah

Only authentic reports are given here; they are more than enough.

  • It is a sanctuary. The Prophet ﷺ made Madinah sacred as Ibrahim made Makkah sacred 8. Its rules are in The sites of Madinah.
  • Faith returns to it as a snake returns to its hole 9.
  • It is blessed. He ﷺ asked Allah to place in Madinah twice the blessing of Makkah 10.
  • Dying there. He ﷺ said that whoever is able to die in Madinah should do so, for he will intercede for those who die there 11. The hadith is authentic; al-Albani graded it sahih.

The Mosque and the Rawdah

A prayer in the Prophet's Mosque is better than a thousand prayers anywhere else, except al-Masjid al-Haram 12 13. So the heart of your stay is simple: pray the five prayers there in congregation, and add what voluntary prayer, Qur'an and dhikr you can.

Inside the old mosque lies the Rawdah, the area between the house of the Prophet ﷺ (where he is buried) and his pulpit. He ﷺ called it a garden of the gardens of Paradise 14 15. Praying there is good when it is possible without pushing or harming anyone. The hadith promises no particular reward for it, and you lose nothing of the thousandfold prayer if you never reach it.

The meaning

A prayer in this mosque of mine is better than a thousand prayers anywhere else, except al-Masjid al-Haram.

Hadith Narrated by Abu Hurayrah Sahih al-Bukhari 1190 Sahih

The meaning

What lies between my house and my pulpit is a garden of the gardens of Paradise, and my pulpit is upon my Basin.

Hadith Narrated by Abu Hurayrah Sahih al-Bukhari 1196 Sahih
The Prophet's Mosque: the Rawdah lies between the chamber and the pulpit. You face the chamber to greet, and the qiblah to make dua.
Describe this picture

A plan of the old part of the Prophet's Mosque. The qiblah wall is to the south. The chamber that contains the three graves is at the south-east of the old mosque, and the pulpit (minbar) is to the west of it. The area between the chamber and the pulpit is marked as the Rawdah. Two different arrows are shown: one points towards the chamber, the direction a visitor faces to give the greeting; the other points south to the qiblah, the direction for dua. The graves themselves are not drawn and no figures stand at the chamber.

Check your understanding

What did the Prophet ﷺ say about a prayer in his Mosque?

Choose one answer.

  1. It equals an Umrah in reward
  2. It is better than a thousand prayers elsewhere, except al-Masjid al-Haram
  3. It is better than a hundred thousand prayers elsewhere
  4. It counts only if prayed in the Rawdah
Show the answer

It is better than a thousand prayers elsewhere, except al-Masjid al-Haram

A prayer in his Mosque is better than a thousand elsewhere except al-Masjid al-Haram. The reward of an Umrah is for the prayer at Quba, and the reward is not tied to the Rawdah.

The visit, step by step

  1. Enter as you enter any mosque

    Right foot first, with the words for entering a mosque 16 17. There is no special dua for this Mosque or for entering Madinah.

  2. Pray two rak'ahs

    Anywhere in the Mosque; in the Rawdah if that is easy 17 18. If an obligatory prayer is about to begin, join it.

  3. Greet the Prophet ﷺ

    Go to the front of the chamber, face it with calm and respect, and greet him in a low voice with peace and the mercy and blessings of Allah: As-salamu 'alayka ya Rasul Allah wa rahmatullahi wa barakatuh. There is no harm in adding a testimony that he conveyed the message, or a prayer that Allah reward him on behalf of his nation 18 17.

  4. Greet Abu Bakr, then 'Umar

    Step a little to your right and greet Abu Bakr (may Allah be pleased with him), then a little further and greet 'Umar (may Allah be pleased with him), asking Allah to be pleased with each 7.

  5. Move on

    Do not stand long; others are waiting. If you wish to make dua for yourself, go to another part of the Mosque, face the qiblah, and ask Allah 18.

Why dua faces the qiblah, and is to Allah alone

In his final illness the Prophet ﷺ warned his nation against what earlier nations had done with the graves of their prophets, turning them into places of worship 20. He also said: do not make my grave a place of regular gathering 19. He closed every door that leads from loving him to worshipping beside him.

So nothing is asked of him: not a cure, not provision, not intercession. Dua is worship, and worship is for Allah alone. Ibn 'Uthaymeen counts asking the Prophet ﷺ to relieve hardship or grant needs as the major shirk, and touching or kissing the grille and walls, walking round the chamber, and facing the grave for dua as innovations 21 7. To honour him is to do as he taught.

Voices are kept low. The believers were forbidden to raise their voices above his in his lifetime 22, and the same respect belongs in his Mosque and at his grave: Ibn Baz says the visitor stands before the grave with good manners and a lowered voice, then gives the greeting 17.

The meaning

In his final illness the Prophet ﷺ said that Allah cursed the Jews and the Christians, who took the graves of their prophets as places of worship. 'A'ishah said: were it not for that, his grave would have been left in the open, but it was feared that it would be taken as a place of worship.

Hadith Narrated by 'A'ishah Sahih al-Bukhari 1330 Sahih

The meaning

Do not turn your houses into graves, and do not make my grave a place of regular gathering. Send blessings upon me, for your blessings reach me wherever you are.

Hadith Narrated by Abu Hurayrah Sunan Abi Dawud 2042 Sahih (graded by al-Albani)

يَٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوا۟ لَا تَرْفَعُوٓا۟ أَصْوَٰتَكُمْ فَوْقَ صَوْتِ ٱلنَّبِىِّ وَلَا تَجْهَرُوا۟ لَهُۥ بِٱلْقَوْلِ كَجَهْرِ بَعْضِكُمْ لِبَعْضٍ أَن تَحْبَطَ أَعْمَٰلُكُمْ وَأَنتُمْ لَا تَشْعُرُونَ ﴿٢﴾

The meaning

You who believe, do not raise your voices above the voice of the Prophet, and do not speak loudly to him as you speak loudly to one another, or your deeds may come to nothing without your realising.

Qur'an Surat al-Hujurat 49:2

Check your understanding

Bilal has greeted the Prophet ﷺ and his two Companions and now wants to make a long dua for his family. What should he do?

Choose one answer.

  1. Stay where he is, facing the chamber, and raise his hands
  2. Ask the Prophet ﷺ to convey his requests to Allah
  3. Move to another place in the Mosque, face the qiblah, and ask Allah
  4. Touch the grille first, then make dua beside it
Show the answer

Move to another place in the Mosque, face the qiblah, and ask Allah

The greeting is given facing the chamber; dua is made to Allah alone, facing the qiblah, away from the grave. Nothing is asked of the Prophet ﷺ and the grille is not touched.

Check your understanding

Select all that are done at the grave of the Prophet ﷺ according to the Sunnah.

Choose every answer that is right.

  1. Greeting him briefly in a low voice
  2. Greeting Abu Bakr and 'Umar
  3. Kissing the grille for blessing
  4. Asking him for intercession
  5. Moving on so that others can reach the place
Show the answer

Greeting him briefly in a low voice; Greeting Abu Bakr and 'Umar; Moving on so that others can reach the place

The visit is a short greeting to the Prophet ﷺ and his two Companions, then moving on. Kissing or touching the grille is an innovation, and asking him for anything is forbidden: dua is to Allah alone.

Women and the visit

Everything said about the Mosque applies to women as to men: the thousandfold prayer, the Rawdah when it is possible, dhikr and dua. What scholars discuss is the visit to the graves. (For a woman in her menses, see Menstruation at each stage.)

Sources

  1. Scholar Shaykh 'Abd al-'Aziz ibn Baz, Fatawa Nur 'ala al-Darb: Visiting the Prophet's Mosque is recommended, not obligatory, and has no connection with Hajj: it may be done at any time, before Hajj or after it. The journey is made for the Mosque; once in Madinah a man greets the Prophet ﷺ and his two Companions, and visits al-Baqi', the martyrs of Uhud and the mosque of Quba. The report 'whoever performs Hajj and does not visit me has shunned me' is false and has no sound basis.
  2. Scholar Shaykh 'Abd al-'Aziz ibn Baz, Majmu' Fatawa Ibn Baz 17/405: The visitor to Madinah goes to the Prophet's Mosque, prays two rak'ahs or more there and prays in it often, then greets the Prophet ﷺ and his two Companions. Visiting al-Baqi' and the martyrs to greet them and ask forgiveness for them is recommended, and so is purifying oneself at one's lodging and praying two rak'ahs in the mosque of Quba. The visit has no fixed length: an hour, a day or more. The report that forty prayers there bring freedom from the Fire and from hypocrisy is weak, and walking round the grave is not allowed.
  3. Hadith Sahih al-Bukhari 1189, narrated by Abu Hurayrah. Sahih.
  4. Hadith Sahih Muslim 1397a, narrated by Abu Hurayrah. Sahih.
  5. Scholar Shaykh 'Abd al-'Aziz ibn Baz, Majmu' Fatawa wa Maqalat Mutanawwi'ah 8/336, quoted on islamqa.info: A journey made only to visit the grave of the Prophet ﷺ, or any grave, is not prescribed, in the more correct of the two views of the scholars, because of the hadith of the three mosques. Whoever travels to pray in the Prophet's Mosque then visits the grave, the two Companions, the martyrs and al-Baqi' as part of his visit; and whoever is already in Madinah visits them without any journey.
  6. Scholar Shaykh al-Islam Ibn Taymiyyah, Majmu' al-Fatawa 27/184-186: On one who travels only to visit the graves of prophets and righteous people there are two well-known views. The earlier scholars, such as Ibn Battah and Ibn 'Aqil, held it a journey that is forbidden, on the hadith 'Do not set out on a journey except to three mosques'. Some later Shafi'i and Hanbali jurists, such as al-Ghazali, Ibn 'Abdus and Ibn Qudamah, allowed it, on the general command to visit graves, and Ibn Qudamah read the hadith of the three mosques as denying only that it is recommended.
  7. Scholar Shaykh Muhammad ibn Salih al-'Uthaymeen, al-Manhaj li-Murid al-'Umrah wal-Hajj, quoted on islamqa.info: The traveller intends the Mosque, not the grave. He enters as he enters any mosque, prays, in the Rawdah if he can, then stands before the grave with dignity and greets the Prophet ﷺ, steps a little to his right to greet Abu Bakr, and again to greet 'Umar. Touching the chamber, walking round it, or facing it while making dua is not allowed: dua is made facing the qiblah. Women do not visit the graves and send their blessings from wherever they are. Men visit al-Baqi' and the martyrs of Uhud to greet them.
  8. Hadith Sahih Muslim 1362, narrated by Jabir ibn 'Abdullah. Sahih.
  9. Hadith Sahih al-Bukhari 1876, narrated by Abu Hurayrah. Sahih.
  10. Hadith Sahih al-Bukhari 1885, narrated by Anas ibn Malik. Sahih.
  11. Hadith Jami' at-Tirmidhi 3917, narrated by 'Abdullah ibn 'Umar. Sahih (graded by al-Albani).
  12. Hadith Sahih al-Bukhari 1190, narrated by Abu Hurayrah. Sahih.
  13. Hadith Sahih Muslim 1394a, narrated by Abu Hurayrah. Sahih.
  14. Hadith Sahih al-Bukhari 1196, narrated by Abu Hurayrah. Sahih.
  15. Hadith Sahih Muslim 1391, narrated by Abu Hurayrah. Sahih.
  16. Hadith Sahih Muslim 713a, narrated by Abu Humayd or Abu Usayd (the narrator was unsure which). Sahih.
  17. Scholar Shaykh 'Abd al-'Aziz ibn Baz, his answer on the manners of visiting the Prophet's Mosque, as printed in Fatawa wa Istisharat al-Islam al-Yawm 15/110 (shamela.ws): The visitor enters the Mosque with his right foot and the supplication of entering, prays two rak'ahs, in the Rawdah if he can, then goes to the grave of the Prophet ﷺ and stands facing it with good manners and a lowered voice, greets him and sends blessings on him, then greets Abu Bakr and 'Umar and prays for them.
  18. Scholar Shaykh 'Abd al-'Aziz ibn Baz, Majmu' Fatawa Ibn Baz 17/408: The visitor prays in the Mosque, in the Rawdah if he can, then faces the Prophet ﷺ and greets him with peace and the mercy and blessings of Allah (as-salamu 'alayka ya Rasul Allah...); there is no harm in testifying that he conveyed the message, or in a dua such as asking Allah to reward him on behalf of his nation. Then he greets the two Companions and prays for them. If he wishes to make dua for himself he moves to another place and faces the qiblah.
  19. Hadith Sunan Abi Dawud 2042, narrated by Abu Hurayrah. Sahih (graded by al-Albani).
  20. Hadith Sahih al-Bukhari 1330, narrated by 'A'ishah. Sahih.
  21. Scholar Shaykh Muhammad ibn Salih al-'Uthaymeen, Akhta' yaqa'u fiha al-Hajj wal-Mu'tamir, quoted on islamqa.info: Among the mistakes of visitors: believing the visit is part of Hajj or that Hajj is incomplete without it; walking round the grave, touching or kissing its grille and walls; touching the mihrab, the pulpit and the walls of the Mosque for blessing; and asking the Prophet ﷺ to relieve hardship or grant needs, which is the major shirk.
  22. Qur'an Surat al-Hujurat 49:2.
  23. Scholar Ibn 'Abd al-Barr, al-Tamhid 20/239, quoted on islamqa.info: Going out to the graves and visiting them is a matter agreed upon for men; about women the scholars differed.
  24. Hadith Jami' at-Tirmidhi 1056, narrated by Abu Hurayrah. Hasan (graded by al-Albani).
  25. Scholar Shaykh 'Abd al-'Aziz ibn Baz, Fatawa Nur 'ala al-Darb: The scholars agree that visiting graves is recommended for men and differ, in two views, about women. The stronger view is that women do not visit graves, the grave of the Prophet ﷺ included, because of the reports that he cursed the women who visit graves. A woman sends blessings and peace on him from wherever she is, and they reach him.
  26. Scholar Shaykh Muhammad ibn Salih al-'Uthaymeen, Liqa' al-Bab al-Maftuh, quoted on islamqa.info: On women and the grave of the Prophet ﷺ he advised the careful course: a woman contents herself with greeting him, even from a distance.
  27. Scholar Zakariyya al-Ansari (Shafi'i) and al-Buhuti (Hanbali), Asna al-Matalib 1/331 and Sharh Muntaha al-Iradat 1/383, quoted with al-Mawsu'ah al-Fiqhiyyah 24/88 on islamqa.info: The majority of the jurists hold that visiting graves is disliked for women, and except from that the grave of the Prophet ﷺ: her visit to it is not disliked but recommended (Asna al-Matalib); women's visit to his grave and the graves of his two Companions is a sunnah, as for men (Sharh Muntaha al-Iradat).
  28. Scholar Shaykh Muhammad Nasir al-Din al-Albani, Ahkam al-Jana'iz 1/186, quoted on islamqa.info: After tracing the routes of the hadith of the curse, he concluded that its preserved wording is 'zawwarat', the women who visit graves often.
  29. Hadith Sahih Muslim 974b, narrated by 'A'ishah. Sahih.

The English of every ayah and hadith here is our own rendering of the meaning, not a quoted translation. Arabic text of the Qur'an: Tanzil Project (tanzil.net), CC BY 3.0.

Published by Zidni Institute.

Finished the lesson?

Answer the 4 checks in this lesson, then mark it complete.

Next lesson

Turn on JavaScript to answer the checks and keep track of your progress.