God Almighty said
Indeed, We revive the dead and record what they put forward and their traces, and We have recorded everything in a clear record.
On the authority of Abu Hurairah, may God be pleased with him, he said
The Messenger of God, may God bless him and grant him peace, said
If the person dies
If his work is cut off, except for three
Except for ongoing charity
Or useful knowledge
Or a good boy prays for him
Ibn al-Jawzi, may God have mercy on him, said
If a person knows that death will stop him from working
Let him do something during his life that will continue to reward him after his death
If he has something from the world
Endowment or planting
He strives to produce offspring who will remember God after him, and he will be rewarded
Or classify a book in science
The classifications of the world are like his immortal child
That is the one who did not die