Following the Funeral, and Matters relating to Illness and Death

Riyad-us-Saliheen 897
Abu Musa (May Allah be pleased with him) reported: The Messenger of Allah (ﷺ) said, "Visit the sick, feed the hungry, and (arrange for the) release of the captive.''

[Al-Bukhari]