Assalam-o-allaikum,

Anas bin Malik, may Allah be pleased with him, reported:
Allah's Messenger (may peace be upon him) said: Three things follow the bier of a dead man, two of them come back and one is left with him: the members of his family, wealth and his good deeds. The members of his family and wealth come back while his deeds alone are left with him.

Sahih Muslim