What Is the Ruling on Visiting Medina and Is It a Ritual of Hajj?
ما حكم زيارة المدينة المنورة وهل هي من مناسك الحج؟
What is the ruling of visiting Medina and is it a ritual of Hajj?
Visiting the city of Medina and the Prophet's Mosque is a highly recommended and blessed act of worship in Islam. However, it is fundamentally separate from the obligatory rituals of Hajj and Umrah, meaning a pilgrimage is completely valid even if Medina is not visited.
Clarifying the distinction between the obligatory Hajj rituals and the recommended visit to the Prophet's Mosque is essential for every pilgrim.
Is my Hajj valid if I do not visit Medina?
Yes, your Hajj is completely valid. Visiting Medina is a highly recommended action but it is not a required ritual or pillar of Hajj.
What is the primary intention one should have when traveling to Medina?
The primary intention should be to visit the Prophet's Mosque and pray inside it, as it is one of the three mosques in the world to which a journey is specifically recommended.
Who are the two companions buried next to the Prophet Muhammad ﷺ?
The two companions are his closest friends and the first two Caliphs of Islam, Abu Bakr As-Siddiq and Umar bin Al-Khattab (may Allah be pleased with them).
The Ruling on Visiting Medina
1. Not a Hajj Ritual
Visiting Medina is not a ritual of pilgrimage. (The rites of Hajj are strictly confined to Mecca and its surrounding sacred areas like Arafah, Muzdalifah, and Mina. A pilgrim's Hajj is fully completed and accepted without visiting Medina, but missing this visit deprives the believer of immense spiritual rewards).
2. The Prophet's Mosque and Greetings
However, it is desirable for a Muslim to visit the Prophet's Mosque in Medina. So if he does go there, it is advisable to send his greetings of Peace to the Messenger pbuh at his grave, and to his two Companions. (The two companions buried alongside him are Abu Bakr As-Siddiq and Umar bin Al-Khattab. Offering salutations to them is a profound sign of love and respect for the Prophet ﷺ and his closest allies).
3. The Three Sacred Mosques
" Undertake journey to three mosques." “Animals are saddled only for prayer in the three mosques: the sacred mosque, the Aqsa mosque, and this mosque of mine.” (Sahih Al-Bukhari 1189) (This Hadith emphasizes the unique sanctity of these three locations on Earth. A single prayer in the Prophet's Mosque is better than a thousand prayers anywhere else, except for the Sacred Mosque in Mecca, as recorded in Sahih Al-Bukhari 1190).
Scholarly Insight: In Islamic Jurisprudence (Fiqh), visiting the Prophet's Mosque is highly encouraged (Mustahabb), but scholars unanimously agree that it is not a condition (Shart) or a pillar (Rukn) of Hajj. The intention for traveling to Medina should primarily be to visit the Prophet's Mosque to pray in it, as indicated by the authentic Hadith regarding the three mosques. While there, greeting the Prophet ﷺ is a deeply spiritual experience. Scholars warn against innovating rituals in Medina or believing that the Hajj is incomplete without it, maintaining the clear boundary between the prescribed rites of Mecca and the blessed visitation of Medina.
ما حكم زيارة المدينة المنورة وهل هي من مناسك الحج؟
زيارة المدينة المنورة والمسجد النبوي من الأعمال الصالحة والمستحبة بشدة في الإسلام. ومع ذلك، فهي منفصلة تماماً عن مناسك الحج والعمرة الواجبة، مما يعني أن الحج صحيح تماماً حتى لو لم تتم زيارة المدينة المنورة.
من الضروري لكل حاج توضيح الفرق بين مناسك الحج الواجبة والزيارة المستحبة للمسجد النبوي.
حكم زيارة المدينة
1. ليست من مناسك الحج
ليست من مناسك الحج. (مناسك الحج محصورة بدقة في مكة والمشاعر المقدسة المحيطة بها مثل عرفة ومزدلفة ومنى. ويكتمل حج المسلم ويُقبل دون زيارة المدينة، لكن تفويت هذه الزيارة يحرم المؤمن من أجور روحية عظيمة).
2. المسجد النبوي والسلام على النبي
ولكن يستحب للمسلم زيارة المسجد النبوي في المدينة المنورة فإذا زاره استحب له أن يسلم على الرسول صلى الله عليه وسلم عند قبره الشريف، كما يستحب له السلام على صاحبيه. (والصاحبان المدفونان بجواره هما أبو بكر الصديق وعمر بن الخطاب. وإلقاء السلام عليهما علامة عميقة على الحب والاحترام للنبي ﷺ وأقرب حلفائه).
3. المساجد الثلاثة المقدسة
عن سعيد بن المسيب، عن أبي هريرة رضي الله عنه، عن النبي صلى الله عليه وسلم قال: (لا تشد الرحال إلا إلى ثلاثة مساجد: المسجد الحرام، ومسجدي هذا، والمسجد الأقصى) رواه البخاري (1189) ومسلم (1397). (يؤكد هذا الحديث على القدسية الفريدة لهذه المواقع الثلاثة على وجه الأرض. فالصلاة الواحدة في المسجد النبوي خير من ألف صلاة فيما سواه، إلا المسجد الحرام بمكة، كما في صحيح البخاري 1190).
1. Recommended Sunnah, Not a Condition of Hajj | سنية الزيارة واستقلالها التام عن مناسك الحج
Visiting the city of Medina is a separate, independent act of worship commended in the Sunnah. It is not an obligatory pillar (Rukn) or prerequisite (Shart) of Hajj or Umrah. If a pilgrim completes the rites in Mecca without visiting Medina, their Hajj is legally sound and flawless.
الْحَجُّ أَشْهُرٌ مَّعْلُومَاتٌ (سورة البقرة: 197)
أجمع علماء المسلمين قاطبة على أن زيارة المدينة المنورة ليست نسكا من مناسك الحج ولا العمرة؛ فالمشاعر المقدسة للحج كلها محصورة في مكة وما حولها (منى، عرفة، مزدلفة)؛ فمن حج ولم يزر المدينة فحجه صحيح تام لا نقص فيه ولا فدية عليه.
2. The Virtue of Undertaking Journey to the Three Mosques | فضل شد الرحال إلى المسجد النبوي الشريف
The Prophet explicitly designated his mosque in Medina as one of only three sanctuaries on earth to which dedicated spiritual journeys may be undertaken: "Journeys should not be undertaken except to three mosques: Al-Masjid Al-Haram, this mosque of mine, and Al-Masjid Al-Aqsa." (Sahih Al-Bukhari 1189)
لاَ تُشَدُّ الرِّحَالُ إِلاَّ إِلَى ثَلاَثَةِ مَسَاجِدَ (البخاري 1189 ومسلم 1397)
تكتسب زيارة المدينة مشروعيتها العظمى من السفر للصلاة في المسجد النبوي؛ فهو أحد المساجد الثلاثة التي خُصت بفضيلة شد الرحال في الإسلام بنص الحديث المتفق عليه، مما يجعل زيارته غاية كريمة يحرص عليها كل مسلم.
3. Multiply-Rewarding Prayers and the Noble Rawdah | مضاعفة أجر الصلاة والروضة الشريفة
A single prayer in the Prophet's Mosque is rewarded more than a thousand prayers performed elsewhere (with the exception of the Sacred Mosque in Mecca). The mosque also encompasses the Rawdah Ash-Sharifah, described by the Prophet as a garden from the gardens of Paradise (Sahih Al-Bukhari 1195).
صَلاَةٌ فِي مَسْجِدِي هَذَا خَيْرٌ مِنْ أَلْفِ صَلاَةٍ فِيمَا سِوَاهُ (البخاري 1190 ومسلم 1394)
فضل الصلاة في مسجد رسول الله ﷺ عظيم جدا؛ فالصلاة الواحدة فيه تفضل ألف صلاة فيما سواه إلا المسجد الحرام؛ ويحوي بين جنباته "الروضة الشريفة" التي قال عنها المصطفى ﷺ: "ما بين بيتي ومنبري روضة من رياض الجنة" (البخاري 1195).
4. Etiquette of Visiting and Sending Greetings | آداب الزيارة والسلام على النبي وصاحبيه
Visitors to the Prophet's Mosque observe reverent decorum: praying in the mosque, offering peace upon the Prophet and his two companions Abu Bakr and Umar, visiting the cemetery of Al-Baqi' and martyrs of Uhud, and praying two rak'ahs in the Mosque of Quba'.
إِنَّ اللَّـهَ وَمَلَائِكَتَهُ يُصَلُّونَ عَلَى النَّبِيِّ ۚ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا (سورة الأحزاب: 56)
يسن لزائر المدينة التأدب بالأخلاق الفاضلة وخفض الصوت؛ والوقوف بأدب للسلام على النبي ﷺ وصاحبيه أبي بكر وعمر رضي الله عنهما، وزيارة مقبرة البقيع وشهداء أحد للدعاء لهم، والصلاة في مسجد قباء الذي يعدل أجر عمرة (ابن ماجه 1411، وصححه الألباني).
Scholarly Insight: Separating Medina's visitation from Hajj's legal obligations demonstrates Islam's precise juristic rigor: preserving the deep emotional honor of visiting the Prophet without confounding distinct religious rites. Read more in the tafsir of Surah Al-Baqarah.
Frequently Asked Questions | الأسئلة الشائعة
Is visiting Medina an obligatory part of Hajj?
No, visiting Medina is a recommended Sunnah, but it is not an obligatory rite, pillar, or condition of Hajj.
Is a pilgrimage valid if the pilgrim does not visit Medina?
Yes, the Hajj is 100% valid, as all essential Hajj rites take place exclusively within Mecca and surrounding sites.
What is the reward for praying in the Prophet's Mosque in Medina?
A single prayer is better than a thousand prayers in any other mosque, except the Sacred Mosque in Mecca.
What other sites in Medina are recommended to visit?
The Mosque of Quba' (where prayer equals the reward of an Umrah, Ibn Majah 1411, graded sahih by Al-Albani), the Baqi' cemetery, and the martyrs of Uhud.
Prepared by Eng. Ghada Homad, founder of IslamFAQ, researched and written in consultation with qualified scholars, reviewed by Professor Khaled Jassem Al-Houli, Associate Professor of Comparative Jurisprudence and Islamic Politics, Faculty of Sharia and Islamic Studies, University of Kuwait. Read more about the authors and this project →