Abu Huraira (RadhiAllahu ‘anhu) reported: Allah’s Messenger ﷺ as saying: When a man dies, his acts come to an end, but three, recurring charity or knowledge (by which people) benefit, or a pious son, who prays for him (for the deceased). [Sahih Muslim]
One of the ways you can do this is to take this opportunity -while you’re alive, well, and capable- to give Sadaqah Jariyah (ceaseless charity). Here are some examples:
Help build a well, a masjid, or school:
Even if you simply helped lay down one brick in its structure, you will receive the rewards for every person/animal/plant that drinks from that well, prays in that masjid, learns in that school and more.
Educate someone:
Whether it be by providing for them supplies to attend school or by actively teaching someone, knowledge is a seed that will continue to sprout and you will be a beneficiary of all its fruits on the day of judgement.
Provide for an orphan:
Any good that this orphan reaps in his/her life will consequently fall into your scale of good deeds as well. The Prophet PBUH said, “‘I and the one who sponsors an orphan will be in Paradise like these two’ – and he gestured with his forefinger and middle finger, holding them apart.” [Sahih Al-Bukhari]
These are easy options but their rewards are great and lasting. As Allah (SWT) says in the Noble Qur'an: "By no means shall you attain to righteousness until you spend (benevolently) out of what you love; and whatever thing you spend, Allah surely knows it." (3:92)
Indeed, Allah surely know of what you spend in His sake and will surely reward you for it. So, pick a Sadaqah Jariyah option and donate today!