السَّلَامُ عَلَيْكُمْ أَهْلَ الدِّيَارِ مِنَ الْمُؤْمِنِينَ وَالْمُسْلِمِينَ، وَإِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَاحِقُونَ، نَسْأَلُ اللَّهَ لَنَا وَلَكُمُ الْعَافِيَةَ، اللَّهُمَّ لَا تَحْرِمْنَا أَجْرَهُمْ، وَلَا تَفْتِنَّا بَعْدَهُمْ، وَاغْفِرْ لَنَا وَلَهُمْ
As-salamu 'alaykum ahlad-diyari minal-mu'minina wal-muslimin, wa inna in sha'Allahu bikum lahiqun, nas'alullaha lana wa lakumul-'afiyah. Allahumma la tahrimna ajrahum, wa la taftinna ba'dahum, waghfir lana wa lahum.
Peace be upon you, O inhabitants of these abodes among the believers and Muslims. And we shall, if Allah wills, join you. We ask Allah for well-being for us and for you. O Allah, do not deprive us of their reward, do not put us to trial after them, and forgive us and them.
Virtue
A more complete variant of the cemetery greeting, reported in Sahih Muslim.