Al-Kāfi - Volume 7 > Things that Reach a Deceased after his Death
Hadith #5

5- عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ أَحْمَدَ بْنِ أَبِي عَبْدِ اللهِ عَنْ يَعْقُوبَ بْنِ يَزِيدَ عَنْ مُحَمَّدِ بْنِ شُعَيْبٍ عَنْ أَبِي كَهْمَسٍ عَنْ أَبِي عَبْدِ اللهِ (عَلَيْهِ السَّلام) قَالَ سِتَّةٌ تَلْحَقُ الْمُؤْمِنَ بَعْدَ وَفَاتِهِ وَلَدٌ يَسْتَغْفِرُ لَهُ وَمُصْحَفٌ يُخَلِّفُهُ وَغَرْسٌ يَغْرِسُهُ وَقَلِيبٌ يَحْفِرُهُ وَصَدَقَةٌ يُجْرِيهَا وَسُنَّةٌ يُؤْخَذُ بِهَا مِنْ بَعْدِهِ.

5. A number of our people have narrated from Ahmad ibn abu ‘Abd Allah from Ya‘qub ibn Yazid from Muhammad ibn Shu’ayb from abu Kahmas who has narrated the following: “Abu ‘Abd Allah, ‘Alayhi al-Salam, has said, ‘Six things follow a believing deceased after his death: a child that asks forgiveness for him, a book that he leaves behind, a plantation that he plants, a well that he digs, a charity that he establishes and a Sunnah which is acted upon after his death/”