Abdullah bin Abbas reported,

The Messenger of Allah ﷺ passed by the graves of Madinah, turned his face toward them, and said, "Peace be upon you, people of the graves. May Allah forgive us and you. You have gone before us, and we are following your trail."

Tirmidhi 1053

Daif

حدثنا أبو كريب حدثنا محمد بن الصلت عن أبي كدينة عن قابوس بن أبي ظبيان عن أبيه

عن ابن عباس قال

مر رسول الله ﷺ بقبور المدينة فأقبل عليهم بوجهه فقال السلام عليكم يا أهل القبور يغفر الله لنا ولكم أنتم سلفنا ونحن بالأثر

الترمذي 1053ضعيف
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Funerals
Chapter
What a man says when entering the graveyard
Numbering
Darussalam 1053
Tirmidhi 1053