“When a man dies, his good deeds come to an end, except three: Ongoing charity, beneficial knowledge, and a righteous child who will pray for him.” This hadith teaches us that we can still commit good acts on their behalf for Allah's (SWT) sake.