The Messenger of Allah ﷺ said, "A Muslim owes another Muslim six acts of kindness. He should greet him with peace when he meets him, respond with a blessing when he sneezes, visit him when he is ill, accept his invitation when he calls him, attend his funeral when he dies, love for him what he loves for himself, and offer him sincere counsel in his absence."
حدثنا أبو سعيد حدثنا إسرائيل عن أبي إسحاق عن الحارث
قال رسول الله ﷺ للمسلم على المسلم من المعروف ست يسلم عليه إذا لقيه ويشمته إذا عطس ويعوده إذا مرض ويجيبه إذا دعاه ويشهده إذا توفي ويحب له ما يحب لنفسه وينصح له بالغيب
Its chain of transmission is daif due to the weakness of Harith. The hadith was narrated by Tirmidhi 4/1-2 and Ibn Majah 1/226, both through Abu Ishaq. Tirmidhi said, The hadith is hasan, and it has been narrated through more than one route from the Prophet ﷺ, though some have criticized Harith al-Awar.