"I heard Anas bin Malik say: The Messenger of Allah said: 'The dead person is followed by three: His family, his wealth and his deeds. Then two of them come back: His family and his wealth, and there remain only his deeds."' (Using translation from Nasāʾī 1937)
قَالَ رَسُولُ اللهِ ﷺ «يَتْبَعُ الْمَيِّتُ ثَلَاثَةٌ أَهْلُهُ وَمَالُهُ وَعَمَلُهُ فَيَرْجِعُ اثْنَانِ أَهْلُهُ وَمَالُهُ وَيَبْقَى وَاحِدٌ وَهُوَ عَمَلُهُ»