Muwatta Malik, Book 38, Hadith 13 (USC-MSA)

Malik related to me from Abd ar-Rahman ibn Abi Amra al-Ansari that his mother had wanted to make a bequest, but she delayed until morning and died. She had intended to set someone free, so Abd ar- Rahman said, 'I said to al-Qasim ibn Muhammad, 'Will it help her if I free a slave for her?' Al-Qasim replied, 'Sad ibn Ubada said to the Messenger of Allah, may Allah bless him and grant him peace, 'My mother died, will it help her if I set a slave free for her?' The Messenger of Allah, may Allah bless him and grant him peace, said "Yes." "'

حَدَّثَنِي مَالِكٌ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي عَمْرَةَ الأَنْصَارِيِّ، أَنَّ أُمَّهُ، أَرَادَتْ أَنْ تُوصِيَ ثُمَّ أَخَّرَتْ ذَلِكَ إِلَى أَنْ تُصْبِحَ فَهَلَكَتْ وَقَدْ كَانَتْ هَمَّتْ بِأَنْ تُعْتِقَ فَقَالَ عَبْدُ الرَّحْمَنِ فَقُلْتُ لِلْقَاسِمِ بْنِ مُحَمَّدٍ أَيَنْفَعُهَا أَنْ أُعْتِقَ عَنْهَا فَقَالَ الْقَاسِمُ إِنَّ سَعْدَ بْنَ عُبَادَةَ قَالَ لِرَسُولِ اللَّهِ صلى الله عليه وسلم إِنَّ أُمِّي هَلَكَتْ فَهَلْ يَنْفَعُهَا أَنْ أُعْتِقَ عَنْهَا فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ نَعَمْ ‏" ‏ ‏.‏

sunnah.com

also referenced under: Book 38, Hadith 1478 (In-Book)