It is reported that Al-Nuʿmān b. Bashīr – Allāh be pleased with him – said:
The example of the son of Adam and death is that of a man who has three friends. He says to one of them: “What do you have?” [The first friend] replies, “I have your wealth, take from it what you wish, and whatever you do not take, you will no longer possess.” Then he asks the second, “What do you have?” He replies, “I will look after you, and when you die, I will bury you and then leave you.” The man then asks the third, “What do you have?” He replies, “I will be with you wherever you go.” [Al-Nuʿmān] said, “As for the first one, it is the wealth of a person: whatever he uses is his, and whatever he does not use is not. As for the second, it is a man’s family and kin: when he dies they take care of him, then they leave him. As for the third, it is a man’s actions: wherever he goes (before and after death), they go with him.”
Ibn Abī Shaybah, Al-Muṣannaf ḥadīth 34723.