عن بُرَيْدَة - رضي الله عنه - قَالَ: قَالَ رسول الله - صلى الله عليه وسلم: «كُنْتُ نَهَيْتُكُمْ عن زِيَارَةِ القُبُورِ فَزُوروها». رواه مسلم.
وفي رواية: «فَمَنْ أرَادَ أَنْ يَزُورَ القُبُورَ فَلْيَزُرْ؛ فإنَّهَا تُذَكِّرُنَا الآخِرَةَ».
It is narrated from Sayyiduna Buraydah (may Allah be pleased with him) that he said: the Messenger of Allah (peace and blessings be upon him) said: "I used to forbid you from visiting graves; (now) visit them."
(Narrated by Muslim)
In another narration: "So whoever wishes to visit the graves, let him visit, for they remind us of the Hereafter."
وعن عائشة رضي الله عنها، قالت: كَانَ رسول الله - صلى الله عليه وسلم - كلَّما كَانَ لَيْلَتُهَا مِنْ رسول الله - صلى الله عليه وسلم - يَخْرُجُ مِنْ آخِرِ اللَّيْلِ إِلَى البَقِيعِ، فَيقولُ: «السَّلاَمُ عَلَيْكُمْ دَارَ قَوْمٍ مُؤْمِنِينَ، وَأَتَاكُمْ مَا تُوعَدُونَ، غَدًا مُؤَجَّلُونَ، وَإنَّا إنْ شَاءَ اللهُ بِكُمْ لاَحِقُونَ، اللَّهُمَّ اغْفِرْ لأهْلِ بَقِيعِ الغَرْقَدِ». رواه مسلم.
It is narrated from Sayyidah Aishah (may Allah be pleased with her) that she said: Whenever it was her night (turn) with the Messenger of Allah (peace and blessings be upon him), he (peace and blessings be upon him) would go out in the last part of the night to al-Baqi' and say: "Peace be upon you, O abode of a believing people. There has come to you what you were promised (death); you are granted respite until tomorrow (for what remains); and we, if Allah wills, will be joining you. O Allah, forgive the people of Baqi' al-Gharqad."
(Narrated by Muslim)
وعن بريدة - رضي الله عنه - قَالَ: كَانَ النبيُّ - صلى الله عليه وسلم - يُعَلِّمُهُمْ إِذَا خَرَجُوا إِلَى المَقَابِرِ أَنْ يَقُولَ قَائِلُهُمْ: «السَّلاَمُ عَلَيْكُمْ أهلَ الدِّيَارِ مِنَ المُؤْمِنينَ وَالمُسلمينَ، وَإنَّا إنْ شَاءَ اللهُ بِكُمْ للاَحِقونَ، أَسْأَلُ اللهَ لَنَا وَلَكُمُ العَافِيَةَ». رواه مسلم.
It is narrated from Sayyiduna Buraydah (may Allah be pleased with him) that he said: When the Companions went out to the graveyard, the Prophet (peace and blessings be upon him) would teach them that the one among them who speaks should say: "Peace be upon you, O inhabitants of these abodes (graves), from among the believers and the Muslims; and we, if Allah wills, will surely be joining you. I ask Allah for well-being for us and for you."
(Narrated by Muslim)
وعن ابن عباسٍ رضي الله عنهم، قَالَ: مرَّ رسول الله - صلى الله عليه وسلم - بِقُبورٍ بالمدِينَةِ فَأقْبَلَ عَلَيْهِمْ بِوَجْهِهِ، فَقَالَ: «السَّلامُ عَلَيْكُمْ يَا أهْلَ القُبُورِ، يَغْفِرُ اللهُ لَنَا وَلَكُمْ، أنْتُمْ سَلَفُنَا وَنَحنُ بالأثَرِ». رواه الترمذي، وقال: «حديث حسن».
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that he said: the Messenger of Allah (peace and blessings be upon him) passed by some graves in Madinah, turned his face towards them and said: "Peace be upon you, O people of the graves. May Allah forgive us and you. You have gone before us, and we are following (in your footsteps)."
(Narrated by al-Tirmidhi, and he said: a hasan hadith)