Abu Huraira reported that a man asked the messenger of Allah (SAW) about what charity is rewarded most. The messenger of Allah (SAW) said what translated means:
“(The charity that is most rewarded is) To give when you are healthy, anxious to accumulate money, afraid of poverty and hoping for wealth, not waiting until you are on your death bed to say: give this (money) to so and so and this to so and so and this person had that. ” -Al-Bukhari