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
Hadith No. 3237
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Zubair Ali Zai:
Sahih Muslim (249)