Abu Hurayra reported that the Messenger of Allah, may Allah bless him
and grant him peace, said, "When a person dies, all action is cut off for
him with the exception of three things:
sadaqa which continues, knowledge
which benefits, or a righteous child who makes supplication for him."