The Messenger of Allah (ﷺ) went out to the graveyard and said: Peace be upon you…

Sunan Abu Dawud Book 21 Hadith 149

Sunan Abu Dawud #3237

Funerals (Kitab Al-Jana'iz) 21:149

Narrated Abu Hurairah:

The Messenger of Allah (ﷺ) went out to the graveyard and said: Peace be upon you, inhabitants of the dwellings who are of the community of the believers. If Allah wills we shall join you.

Chapter: What To Say When Passing Graves

Grade: Sahih (Al-Albani)