Abu Hurairah reported,

The Prophet ﷺ reported that Allah عز وجل said, "I fell ill and the son of Adam did not visit Me. I grew thirsty and the son of Adam did not give Me to drink."I asked, "Do You fall ill, my Lord?"He replied, "A servant from among My servants on earth falls ill and is not visited. Had he visited him, his visit would have been to Me. And he grows thirsty on earth and is not given drink. Had he given him drink, what he gave him would have been for Me."

Ahmad 9242

Sahih

حدثنا موسى بن داود قال حدثنا ابن لهيعة عن عبيد الله بن أبي جعفر عن سعيد بن أبي سعيد عن أبيه

عن أبي هريرة

عن النبي ﷺ عن الله عز وجل أنه قال مرضت فلم يعدني ابن آدم وظمئت فلم يسقني ابن آدم فقلت أتمرض يا رب قال يمرض العبد من عبادي ممن في الأرض فلا يعاد فلو عاده كان ما يعوده لي ويظمأ في الأرض فلا يسقى فلو سقي كان ما سقاه لي

أحمد 9242صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 9242
Ahmad 9242