Quran 3:145 from Surah Aal-i-Imraan on Divine Marvels.
وَمَا كَانَ لِنَفۡسٍ أَن تَمُوتَ إِلَّا بِإِذۡنِ ٱللَّهِ كِتَٰبٗا مُّؤَجَّلٗاۗ وَمَن يُرِدۡ ثَوَابَ ٱلدُّنۡيَا نُؤۡتِهِۦ مِنۡهَا وَمَن يُرِدۡ ثَوَابَ ٱلۡأٓخِرَةِ نُؤۡتِهِۦ مِنۡهَاۚ وَسَنَجۡزِي ٱلشَّٰكِرِينَ
English translation: And not is for a soul that he dies except by (the) permission (of) Allah (at a) decree determined And whoever desires reward (of) the world We will give him thereof and whoever desires reward (of) the Hereafter We will give him thereof And We will reward the grateful ones
Transliteration: wama kana linafsin an tamuta illa bi-idh'ni al-lahi kitaban mu-ajjalan waman yurid thawaba al-dun'ya nu'tihi min'ha waman yurid thawaba al-akhirati nu'tihi min'ha wasanajzi al-shakirina