Sahih Bukhari | Volume 7 | Hadith Number 286

Narrated by Abu Musa Al-Ash'ari
The Prophet said, "Give food to the hungry, pay a visit to the sick and release (set free) the one in captivity (by paying his ransom)."