And spend [in the way of Allah ] from what We have provided you before death approaches one of you and he says, “My Lord, if only You would delay me for a brief term so I would give charity and be among the righteous.” But never will Allah delay a soul when its time has come. And Allah is Acquainted with what you do.
(Al-Munaafiqoon 63:10-11)