Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: A man came to the Prophet (peace and blessings be upon him) and said: "How are you?" The Prophet (peace and blessings be upon him) said: "Better, compared with a people who neither visit the sick nor attend funerals."
Abu Ya'la recorded it, and its chain is hasan (good).
(Allamah Haythami says:) I say: The hadith narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) will come later in the chapter on the virtue of fasting.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الجنائز / 3785