Sayyiduna Abu al-Darda (may Allah be pleased with him) said: I heard the Prophet (peace and blessings be upon him) say: "The example of one who gives charity or frees (a slave) at the time of death is like one who gives (a gift) after he has eaten his fill."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الزكاة / 7834