Riyad as-Salihin, 583
Ibn 'Abbas (May Allah be pleased with them) reported:
Messenger of Allah (ﷺ) passed by the graves at Al-Madinah. He turned his face towards them and said, "May you be granted safety, O inmates of the graves. May Allah forgive us and you. You have preceded us, and we are to follow." <b>[At-Tirmidhi, who classified it as Hadith Hasan]</b>.
وعن ابن عباس رضي الله عنهما، قال مر رسول الله صلى الله عليه وسلم بقبور بالمدينة فأقبل عليهم بوجهه فقال: “السلام عليكم يا أهل القبور، يغفر الله لنا ولكم أنتم سلفنا ونحن بالأثر” ((رواه الترمذي وقال: حديث حسن)).
References1 variant
- In-Book Reference
- Introduction, Hadith 583
Sharh · explanationclick to expand
<b>Guidance from the Hadiths:</b><br>
1) It is recommended to visit the graves in the lawful manner, without specifying certain days for doing so.<br>
2) A person is advised to make the reported supplications upon visiting the graves, as blessing lies in them. However, if he does not memorize any of the reported supplications, he can supplicate as he wishes.<br>
3) The Prophet (may Allah’s peace and blessings be upon him) was keen to teach his Ummah what is beneficial for them. Knowledge precedes words and deeds.<br>
4) It is a right of the believers in general to receive supplication for them to be forgiven and shown mercy. This is one of the rights of brotherliness that last after death.<br>
<br>
<b>Benefit:</b><br>
Visiting the graves falls under three categories: lawful, innovative, and polytheistic. These were extensively explained by the erudite scholar Hāfiz Hakami (may Allah have mercy upon him) in his work Sullam al-Wusūl Fi Tawhid Allah wa Ittibā‘ al-Rasūl.