Quran 17:19 from Surah Al-Israa on Divine Marvels.
وَمَنۡ أَرَادَ ٱلۡأٓخِرَةَ وَسَعَىٰ لَهَا سَعۡيَهَا وَهُوَ مُؤۡمِنٞ فَأُوْلَٰٓئِكَ كَانَ سَعۡيُهُم مَّشۡكُورٗا
English translation: And whoever desires the Hereafter and exerts for it the effort while he (is) a believer then those [are] their effort (is) appreciated
Transliteration: waman arada al-akhirata wasa'a laha sa'yaha wahuwa mu'minun fa-ulaika kana sa'yuhum mashkuran