Sahih Muslim, Book 45, Hadith 50 (Muslim 6481)

Thauban, the freed slave of Allah's Messenger (ﷺ), reported that Allah's Messenger (ﷺ) said:

He who visits the sick continues to remain in the fruit garden of Paradise until he returns.