In Islam, there is a saying by prophet Muhammad that when a person dies, their deeds are cut off except by 3 things that continue to "give" after their death
Nebigu- sallal Laahu calayhi wasallam- waxa uu sheegay in qofku marka uu dhinto camalkii loo qorayey uu joogsanayo, aan ka ahayn saddex ay ka mid tahay aqoon uu ka tagey oo la dheefsado.