وَ كَانَ رَسُولُ اللَّهِ ص إِذَا مَرَّ عَلَى الْقُبُورِ قَالَ السَّلَامُ عَلَيْكُمْ مِنْ دِيَارِ قَوْمٍ مُؤْمِنِينَ وَ إِنَّا إِنْ شَاءَ اللَّهُ بِكُمْ لَاحِقُونَ.
English translationBab Ul Qaim Publications
Hadith.534 - When the Messenger of Allah (sw) would pass by graves, he would say: Al-salāmu ‘alaykum min diyāri qawmin mu’minīn, wa innā in shā’a Allāhu bikum lāḥiqūn 'Peace be upon you, O’ dwellers of the homes of believers. Indeed, if Allah (swt) wills, we shall join you.'"
Translation: Bab Ul Qaim Publications·Thaqalayn link·The Arabic above is the original.