If a human dies, then his good deeds stop except for three: a SadaqaJariah (continuous charity), a beneficial knowledge, or a righteous child who prays for him.