السَّلَامُ عَلَيْكُمْ أَهْلَ الدِّيَارِ، مِنَ المُؤْمِنِيْنَ، وَالْمُسْلِمِيْنَ، وَإِنَّا إِنْ شَاءَ اللهُ بِكُمْ لَاحِقُونَ، [وَ يَرْ حَمُ اللهُ المُسْتَقْدِمِيْنَ مِنَّا وَ المُسْتَأخِرِيْنَ] أسْألُ اللهَ لَنَا وَلَكُمْ العَافِيَةَ
Peace be upon you all, O inhabitants of the graves, amongst the believers and the Muslims. Verily we will, Allāh willing, be united with you, we ask Allāh for well-being for us and you.
Reference: Peace be upon you all, O inhabitants of the graves, amongst the believers and the Muslims. Verily we will, Allāh willing, be united with you, we ask Allāh for well-being for us and you. Muslim (#975, 2/671) and Ibn Mājah (#1547, 1/494) and the wording is his. What is between the brackets is from the hadith of ʿĀʾishah collected by Muslim (#974, 2/671).