It wasnarrated from Abu Mas’ud that the Prophet (ﷺ) said: “TheMuslimhas four things due from the Muslim: He should answer [bysayingYarhamuk-Allah (may Allah have mercy on you)] to him if hesneezes(and says Al-Hamdulillah); he should accept his invitation ifheinvites him; he should attend his funeral if he dies; and he shouldvisit him if he falls sick.”
Hadith In Arabic Text :
حدثنا أبو بشر، بكر بن خلف ومحمد بن بشار قالا حدثنا يحيى بن سعيد، حدثنا عبد الحميد بن جعفر، عن أبيه، عن حكيم بن أفلح، عن أبي مسعود، عن النبي صلى الله عليه وسلم قال ” للمسلم على المسلم أربع خلال يشمته إذا عطس ويجيبه إذا دعاه ويشهده إذا مات ويعوده إذا مرض ” .
Chapter : Chapters Regarding Funerals – كتاب الجنائز