Sahih al-Bukhari, Book 75, Hadith 9 (Bukhari 5435)

Narrated Abu Muisa Al-Ash`ari:

The Prophet (ﷺ) said, "Feed the hungry, visit the sick, and set free the captives."