Sunan Abi Dawud, Hadith 3957 ⓘ
Narrated AbudDarda': The Prophet said: the similitude of a man who emancipates a slave at the time of his death is like that of a man who gives a present after satisfying his appetite.
حَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي إِسْحَاقَ، عَنْ أَبِي حَبِيبَةَ الطَّائِيِّ، عَنْ أَبِي الدَّرْدَاءِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَثَلُ الَّذِي يُعْتِقُ عِنْدَ الْمَوْتِ كَمَثَلِ الَّذِي يُهْدِي إِذَا شَبِعَ " .
also referenced under: Hadith 3968 (DarusSalam) & Book 29, Hadith 3957 (USC-MSA)