Anas bin Malik reported,

The Messenger of Allah ﷺ said, "Three things follow the deceased. Two return, and one remains. His family, his wealth, and his deeds follow him. His family and his wealth return, and his deeds remain with him."

Azami 15249

Sahih

عن أنس بن مالك قال

قال رسول الله ﷺ: يتبع الميت ثلاثة، فيرجع اثنان، ويبقى واحد، يتبعه أهله وماله وعمله، فيرجع أهله وماله، ويبقى عمله.

الأعظمي 15249صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Asceticism and softening of the heart
Chapter
Discouragement from the trial of women and love of wealth
Section
Nothing remains with a person after death except their deeds
Numbering
Jami al-Kamil 15249 (2nd edition)
Azami 15249