Sahih Muslim, Book 39, Hadith 5 (Muslim 5595)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

Five are the rights of a Muslim over his brother: responding to salutation, saying Yarhamuk Allah when anybody sneezes and says al-Hamdulillah, visiting the sick. following the bier. ' Abd al-Razzaq said that this hadith has been transmitted as mursal hadith from Zuhri and he then substantiated it on the authority of Ibn Musayyib.