3:145
وَمَا كَانَ لِنَفۡسٍ اَنۡ تَمُوۡتَ اِلَّا بِاِذۡنِ اللّٰهِ كِتٰبًا مُّؤَجَّلًاؕ وَمَنۡ يُّرِدۡ ثَوَابَ الدُّنۡيَا نُؤۡتِهٖ مِنۡهَاۚ وَمَنۡ يُّرِدۡ ثَوَابَ الۡاٰخِرَةِ نُؤۡتِهٖ مِنۡهَاؕ وَسَنَجۡزِي الشّٰكِرِيۡنَ
And it is not [possible] for one to die except by permission of Allah at a decree determined. And whoever desires the reward of this world - We will give him thereof; and whoever desires the reward of the Hereafter - We will give him thereof. And we will reward the grateful