Hadith 5167
وَعَنْ أَنَسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: يَتْبَعُ الْمَيِّتَ ثَلَاثَةٌ: فَيَرْجِعُ اثْنَانِ وَيَبْقَى مَعَهُ وَاحِدٌ يَتْبَعُهُ أَهْلُهُ وَمَالُهُ وَعَمَلُهُ فَيَرْجِعُ أَهْلُهُ وَمَالُهُ وَيَبْقَى عمله . مُتَّفق عَلَيْهِ
Anas (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Three things accompany the deceased, two of them return and one remains with him: his family, his wealth, and his deeds go with him; his family and his wealth return, and his deeds remain with him." Agreed upon.