Anas bin Malik reported,

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

Nasai 1939

Sahih

أخبرنا قتيبة قال حدثنا سفيان عن عبد الله بن أبي بكر قال سمعت

أنس بن مالك يقول

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

النسائي 1939صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Funerals
Chapter
Prohibition of insulting the dead
Numbering
Darussalam 1939
Nasai 1939