Babylonian Talmud, Sukkot 49b
Our masters taught: Gemilut chesed (loving-kindness) is greater than tzedakah (charity, commonly) in three ways. Tzedakah is done with one's money, while gemilut chesed may be done with one's money or one's person. Tzedakah is given only to the poor, while gemilut chesed may be given both to the poor and to the rich. Tzedakah is given only to the living, while gemilut chesed may be shown to both the living and the dead.