Burayda reported,

The Messenger of Allah ﷺ used to teach them what to say when they went out to the graveyards. Their spokesman would say, "Peace be upon you, dwellers of these abodes from among the believers and the Muslims." Muawiya said in his version, "We will, Allah willing, join you. You have gone ahead of us, and we will follow. We ask Allah for well-being for ourselves and for you."

Ahmad 22985

Sahih

حدثنا معاوية بن هشام وأبو أحمد قالا حدثنا سفيان عن علقمة بن مرثد

عن سليمان بن بريدة عن أبيه قال

كان رسول الله ﷺ يعلمهم إذا خرجوا إلى المقابر فكان قائلهم يقول السلام عليكم أهل الديار من المؤمنين والمسلمين قال معاوية في حديثه إنا إن شاء الله بكم لاحقون أنتم فرطنا ونحن لكم تبع ونسأل الله لنا ولكم العافية

أحمد 22985صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Burayda Aslami
Numbering
Darussalam 22985
Ahmad 22985