Abu Huraira reported: A man said to the Prophet, peace and blessings be upon him, “My father has died and he left behind some property without drafting a will for it. While his sin be expiated if I give charity on his behalf?” The Prophet said, “Yes.”
Source: Ṣaḥīḥ Muslim 1630
Grade: Sahih (authentic) according to Muslim
عَنْ أَبِي هُرَيْرَةَ أَنَّ رَجُلًا قَالَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّ أَبِي مَاتَ وَتَرَكَ مَالًا وَلَمْ يُوصِ فَهَلْ يُكَفِّرُ عَنْهُ أَنْ أَتَصَدَّقَ عَنْهُ قَالَ نَعَمْ
1630 صحيح مسلم كتاب الوصية باب وصول ثواب الصدقات إلى الميت