The author – may Allah shower blessings on him – mentioned the Chapter on visiting the sick and following the funeral procession in his book, Riyaadus Saaliheen. One of such is that hadeeth of Aboo Musa Al-Ashari - may Allah be pleased with him – who narrated
that the Prophet ﷺ said: 'Emancipate the slaves, feed the hungry and visit the sick.'
The Prophet ﷺ commanded these three things:
Firstly: 'Visit the sick.' We have mentioned earlier that this is a communal obligation on the Muslims to visit the sick ones amongst them. If no one performs this duty, it becomes compulsory for whoever is aware of the sick to visit him because that is one of the rights of a Muslim on his brothers.
Secondly: 'Feed the hungry.' When we find a hungry person, it becomes required of us all (as community) to feed him. This act is a communal obligation. If enough people do it, the obligation is removed from the rest of people. If no one does it, it becomes obligatory for the one who is aware of his condition to feed him. Ditto for clothing a person without cloth; it is a communal obligation.
Thirdly: 'Emancipate the slaves.' You should emancipate Muslim slaves from a disbeliever. When a disbeliever abducts a Muslim, it is mandatory for us to break the bondage. Also, if he (the Muslim) is captured during a battle between the disbelievers and the Muslims, it becomes binding on us to liberate him from the captivity. This responsibility is a communal obligation.
Then he mentioned the hadeeth of Thauban in which the Prophet ﷺ said: 'When a Muslim visits his ailing Muslim brother,' that is, during his illness, 'he remains in the Khurfah of Paradise.' He was asked: 'What is the Khurfah of Paradise?' He replied: 'Its gardens,' that is, he is engaged in picking its fruits as long as he remains seated with the sick.
We have previously mentioned that visiting the sick varies depending on condition (of the sick) and the personalities (of the visitors) – if a family takes care of him, he can stay for as long as necessary.
This hadeeth shows the virtues of visiting the sick. Whoever wishes to eat from the fruits of Paradise, then this is one of the ways to that.
Allah alone grants success.