Sadaqah Jariyah means continuous charity. It is an ongoing charity that givers can benefit from even after they perish. Actions may have ceased, but the good charity that benefits others continue to add up on the scale of deeds until the Day of Judgment. This concept in Islam is similar to the popular proverb: “Give a man a fish and he eats for a day, but give a man a boat and a net to catch fish, then he feeds himself and family for a lifetime.”
The contribution in providing the boat is the act of alms, as it can be used repeatedly as a tool to obtain food for one person or several people.
The Messenger of Allah said, "When a man dies, his deeds come to an end except for three things: Sadaqah Jariyah (ceaseless charity); a knowledge which is beneficial, or a virtuous descendant who prays for him (for the deceased)" [Muslim].
“It was narrated that Abu Hurayrah (may Allah be pleased with him) said: The Messenger of Allah (peace and blessings of Allah be upon him) said: “Whoever gives charity equal to a date from good (halal) earnings – for Allah does not accept anything but that which is good – Allah will take it in His right hand and tend it for the one who gave it as any one of you tends his foal, until it becomes like a mountain” [Bukhari].