It is reported from al-Hasan (may Allah have mercy on him) that Sayyiduna Sa'd (may Allah be pleased with him) came to the Prophet (peace and blessings be upon him) and said: "O Messenger of Allah! Umm Sa'd (may Allah be pleased with her) loved charity and loved freeing slaves. If I give charity on her behalf or free a slave, will she receive a reward?" He (peace and blessings be upon him) said: "Yes."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الوصايا / 12639