"When a person dies, his deeds come to an end except for three: Sadaqah Jariyah (a continuous charity), knowledge which is beneficial, or a pious descendant who prays for him (for the deceased)"  (Muslim)