(14) باب مَا جَاءَ فِي الصَّدَقَةِ عَنِ الْمَيِّتِ
Narrated Abu Hurairah:
The Messenger of Allah (ﷺ) as saying: When a man dies, his action discontinues from him except three things, namely, perpetual sadaqah (charity), or the knowledge by which benefit is acquired, or a pious child who prays for him.
Reference: Sunan Abi Dawud 2880
In-book reference: Book 18, Hadith 19
English translation: Book 17, Hadith 2874
Read hadith from the major collections in the app, with prayer times and a Qibla compass. Free.