عَنْ أَبِي هُرَيْرَةَؓ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ خَمْسٌ تَجِبُ لِلْمُسْلِمِ عَلَى أَخِيهِ رَدُّ السَّلَامِ وَتَشْمِيتُ الْعَاطِسِ وَإِجَابَةُ الدَّعْوَةِ وَعِيَادَةُ الْمَرِيضِ وَاتِّبَاعُ الْجَنَائِزِ(مسلم شريف/ كتاب السلام)
Translation
It is narrated from Hazrat Abu Huraira (R.A) that the Messenger of Allah (ﷺ) said: There are five rights of a Muslim that are obligatory upon his brother: replying to the greeting (salam), saying Yarhamukallah in response to the one who sneezes, accepting the invitation, visiting the sick, and accompanying the funerals. (Tafheem-ul-Muslim/Vol: 3)