This website is under review. Do not rely on it for final rulings.
Machine translation
Question
What is the ruling on one who comes to Madinah intending to pray in the Prophet's Mosque, while his heart is set on standing at - visiting - the grave of the Messenger of Allah ﷺ?
Answer
All praise is due to Allah, and may peace and blessings be upon the Messenger of Allah, and upon his family and companions. To proceed:
As for one who is near Madinah and can reach it without travel, there is no blame on him in intending to visit the Prophet ﷺ, even if that is on its own, independent of other purposes.
As for one who travels to Madinah, if his intention is to come to the Prophet's Mosque to pray there, as the question indicates, then the love of visiting the grave as a secondary matter does not harm him.
As for one whose intention is purely to visit the grave only, this is not permissible according to most scholars; yet it is unlikely to occur from one who knows the virtue of praying in the Prophet's Mosque.
Shaykh al-Islam Ibn Taymiyyah said: One who knows the Shariah does not fall into this, for he knows that the Messenger ﷺ recommended traveling to his mosque and praying in it, and he travels to his mosque, so how would he not intend to travel to it? Whoever knows what he does by choice must intend it, and intention is only absent with ignorance: either ignorance that travel to his mosque is recommended because it is his mosque and not for the sake of the grave, or ignorance that the traveler only reaches his mosque. But with knowledge of both matters, he must intend to travel to his mosque. Majmu al-Fatawa. And see the two fatwas:54526، 30152.
And Allah knows best.
الحمد لله، والصلاة والسلام على رسول الله، وعلى آله وصحبه، أما بعد:
فمن كان قريبا من المدينة، ويمكنه إتيانها بدون سفر، فلا حرج عليه في قصد زيارة النبي صلى الله عليه وسلم ولو كان ذلك على و جه الاستقلال.
أما من يسافر إلى المدينة، فإن قصد إتيان المسجد النبوي للصلاة فيه كما يظهر من السؤال فلا يضره محبة زيارة القبر تبعا.
أما إن تمحضت نيته لزيارة القبر فقط، فهذا غير مشروع عند أكثر العلماء، إلا أنه يبعد وقوعه ممن يعلم فضل الصلاة في المسجد النبوي.
قال شيخ الإسلام ابن تيمية: والعالم بالشريعة لا يقع في هذا، فإنه يعلم أن الرسول قد استحب السفر إلى مسجده والصلاة فيه، وهو يسافر إلى مسجده فكيف لا يقصد السفر إليه؟ فكل من علم ما يفعله باختياره فلا بد أن يقصده، وإنما ينتفي القصد مع الجهل إما مع الجهل بأن السفر إلى مسجده مستحب لكونه مسجده لا لأجل القبر، وإما مع الجهل بأن المسافر إنما يصل إلى مسجده، فأما مع العلم بالأمرين فلا بد أن يقصد السفر إلى مسجده. مجموع الفتاوى. وانظر الفتويين: 54526، 30152.
والله أعلم.
More fatwas from our library on the same topic