Thawban reported,

Abu Rabi traced it back to the Prophet ﷺ. In Saeed's version, he said, the Messenger of Allah ﷺ said, "The one who visits a sick person remains in the harvest gardens of Paradise until he returns."

Muslim 6551

Sahih

حدثنا سعيد بن منصور وأبو الربيع الزهراني قالا حدثنا حماد يعنيان ابن زيد عن أيوب عن أبي قلابة عن أبي أسماء

عن ثوبان قال

أبو الربيع رفعه إلى النبي ﷺ وفي حديث سعيد قال قال رسول الله ﷺ عائد المريض في مخرفة الجنة حتى يرجع

مسلم 6551صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Righteousness, maintaining ties, and good manners
Chapter
Virtue of visiting the sick
Numbering
Darussalam 6551
Muslim 6551