Abu Hurairah reported,

I heard the Messenger of Allah ﷺ say, "The Muslim has five rights upon his fellow Muslim: returning the greeting of peace, visiting the sick, following funeral processions, accepting invitations, and responding to the one who sneezes."

Azami 3667

Sahih

عن أبي هريرة قال

سمعت رسول الله ﷺ يقول: حق المسلم على المسلم خمس: رد السلام، وعيادة المريض، واتباع الجنائز، وإجابة الدعوة، وتشميت العاطس.

الأعظمي 3667صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Deceased, carrying the funeral bier, and standing for it
Section
Following funeral processions and its virtue
Numbering
Jami al-Kamil 3667 (2nd edition)
Azami 3667