Surah Al-Isra, Ayah 19
Quran 17:19 · The Night Journey · Makki · Para 15 · Page 284
وَمَنْ اَرَادَ الْاٰخِرَةَ وَسَعٰی لَهَا سَعْیَهَا وَهُوَ مُؤْمِنٌ فَاُولٰٓىِٕكَ كَانَ سَعْیُهُمْ مَّشْكُوْرًا ۟
Transliteration
Waman arada al-akhirata wasaAAalaha saAAyaha wahuwa mu/minun faola-ika kanasaAAyuhum mashkoora
Saheeh International
But whoever desires the Hereafter and exerts the effort due to it while he is a believer - it is those whose effort is ever appreciated [by Allāh].
Al-Mukhtasar fi Tafsir
But whoever desires, by his acts of goodness, the reward of the Hereafter, and pursues it as it should be pursued, free of show and reputation, while he has faith in that which Allah has made faith obligatory; these people who have these attributes - their effort will be accepted by Allah and He will recompense them for it.
Tafsir Ibn Kathir (abridged)
Explains 17:18–17:19 together — read it on 17:18