YOUR DEEDS H 462 "Three accompany the deceased: members of his family, his belongings and his deeds. The first two leave but the third remains." R 462 Bukhari and Muslim with a chain up to Anas who related that the Prophet, praise and peace be upon him, said this.
460- وعنه ، عن رسول الله صلى الله عليه وآله وسلم ، قَالَ : "يَتْبَعُ الْمَيِّتَ ثَلاَثَةٌ : أهْلُهُ وَمَالُهُ وَعَمَلُهُ : فَيَرْجِعُ اثْنَانِ ، وَيَبْقَى وَاحِدٌ : يَرْجِعُ أهْلُهُ وَمَالُهُ وَيبْقَى عَمَلُهُ" متفقٌ عَلَيْهِ .