Sahih Bukhari | Volume 8 | Hadith Number 521

Narrated by Anas bin Malik
Allah's Apostle said, "When carried to his grave, a dead person is followed by three, two of which return (after his burial) and one remains with him: his relative, his property, and his deeds follow him; relatives and his property go back while his deeds remain with him."