Three Follow a Dead Body
Anas (radi Allahu anhu) reported that the Messenger of Allah (sal Allahu alaihi wa sallam) said, “Three follow a dead body: members of his family, his possessions and his deeds. Two of them return and one remains with him. His family and his possessions return; his deeds remain with him.”
[Sahih al-Bukhari and Muslim]
This Hadith induces one to perform such deeds which always remain with him in the grave, where every being and thing leaves one and he is all alone in the grave. What is left is his good deeds which become the means of refuge and salvation.
And Allah Knows Best!