O You who believe! Let not your riches or your children divert you from the remembrance of Allah. If any act thus, the loss is their own.

And spend something in charity out of the substance WE have bestowed on you, before death should come to any of you and he should say, “O my LORD! Why did YOU not give me respite for a little while? I should then have given largely in charity, and I should have been one of the doers of good".

But to no soul will ALLAH grant respite when the time appointed for it has come; and ALLAH is well acquainted with all that you do.

Sura Al- Taghabun Ayats 9-11