The Book of Prayer - Funerals
Ṣaḥīḥ Muslim 2257
السَّلاَمُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ وَإِنَّا إِنْ شَاءَ اللَّهُ لَلَاحِقُونَ أَسْأَلُ اللَّهَ لَنَا وَلَكُمْ الْعَافِيَةَ
as-salāmu ʿalaykum ahla ad-diyāri mina al-muʾminīna wa-l-muslimīna wa-innā in shāʾa-Llāh lalāḥiqūna asʾalu-Llāh lanā walakum al-ʿāfiyaha
Transliteration generated from the Arabic vowel marks
The full narration
Sulaiman b. Buraida narrated on the authority of his father that the Messenger of Allah (ﷺ) used to teach them when they went out to the graveyard. One of the narrators used to say this in the narration transmitted on the authority of Abu Bakr:" Peace be upon the inhabitants of the city (i. e. graveyard)." In the hadith transmitted by Zuhair (the words are):" Peace be upon you, the inhabitants of the city, among the believers, and Muslims, and God willing we shall join you. I beg of Allah peace for us and for you
Source
Ṣaḥīḥ Muslim · 2257
- Agreed upon as authentic (al-Bukhārī / Muslim)
Also narrated in Sunan Ibn Mājah 1547, Sunan an-Nasā'ī 2040.
Read it at the source ↗