Hadithcore
Riyad as-Salihin, 238

Abu Hurairah (May Allah bepleased with him) reported:

Messenger of Allah (ﷺ) said, "A believer owes another believer five rights: responding to greetings, visiting him in illness, following his funeral, accepting his invitation, and saying 'Yarhamuk-Allah (May Allah have mercy on you),' when he says 'Al-hamdu lillah (Praise be to Allah)' after sneezing". <b>[Al-Bukhari and Muslim]</b>. Muslim's narration is, "There are six rights of a Muslim upon a Muslim: When you meet him, greet him; when he invites you, respond to him; when he seeks counsel, give him advice; when he sneezes and praises Allah, say to him: 'May Allah have mercy on you (Yarhamuk-Allah)'; when he is sick, visit him; and when he dies, follow his funeral".

وعن أبي هريرة رضي الله عنه أن رسول الله صلى الله عليه وسلم قال‏:‏ ‏"‏حق المسلم على المسلم خمس‏:‏ رد السلام، وعيادة المريض، واتباع الجنائز وإجابة الدعوة، وتشميت العاطس‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏ ‏.‏ و في رواية لمسلم: "حق المسلم على المسلم ست: اذا لقيته فسلم عليه، و اذا دعاك فأجبه، و اذا استنصحك فانصح له، و اذا عطس فحمد الله فشمته، و اذا مرض فعده، و اذا مات فاتبعه."

References1 variant
In-Book Reference
Introduction, Hadith 238
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) One of the rights a Muslim owes his fellow Muslim is to greet him with peace, whether by initiating the greeting or returning it.<br> 2) Visiting the sick is a right that a Muslim owes other Muslims.<br> 3) Mutual Fulfillment of Muslims’ rights fosters love and affection between them and eliminates grudge and rancor.<br> <br> <b>Benefit:</b><br> Is the invitee still obligated to accept the invitation of a fellow Muslim, if accepting it would result in witnessing what is wrong? The answer is: if the invitee is able to change that wrong, he must answer the invitation for two reasons: the first is to eliminate the wrong, and the second is to answer the invitation of his Muslim brother.<br> But if he cannot change or alleviate the wrong committed there, it is not permissible for him to accept the invitation.<br> <br> <b>Words in the Hadith:</b><br> Responding to the sneezing person: saying to him, “Yarhamuk Allah” (May Allah have mercy on you). This is called Tashmit in Arabic.
Related hadiths6
Compare isnād across 6 related chains →