Jami` at-Tirmidhi, Book 27, Hadith 23 (Tirmidhi 1985)

Ibn 'Abbas narrated that:

the Prophet said: Whoever takes in an orphan among the Muslims to raise, to feed him and give him drink, Allah admits him into Paradise without a doubt, unless he has done a sin for which he is not forgiven."