When a person dies, all their deeds end except for three of them: Number 1. A continuing charity which they made before and still benefits the people.
Number 2. Beneficial knowledge which they have taught and continues to benefit the people.
Number 3 A righteous child who prays for them.” (Hadith of the Prophet (PBUH), narrated by Muslim). Ongoing Charity – Sadaqah Jariyah – is one of the most valuable acts we can do in this life, which continues to benefit us, even after we have passed away.
What’s special about Sadaqah Jariyah is that, even after you have died, it will continuously benefit you. Your scale of good deeds will increase even though you’ve passed, and the people you helped will continue to reap the good you did.