Surah Saba, Ayah 21 (34:21)
وَمَا كَانَ لَهُۥ عَلَيۡهِم مِّن سُلۡطَٰنٍ إِلَّا لِنَعۡلَمَ مَن يُؤۡمِنُ بِٱلۡأٓخِرَةِ مِمَّنۡ هُوَ مِنۡهَا فِي شَكّٖۗ وَرَبُّكَ عَلَىٰ كُلِّ شَيۡءٍ حَفِيظٞ ٢١
Arabic: King Fahd Complex Hafs text.
English translation
21. And he (Iblîs - Satan) had no authority over them, - except that We might test him who believes in the Hereafter from him who is in doubt about it. And your Lord is a Hafiz (Watchful) over everything. (All-Knower of everything i.e. He keeps record of every person as regards deeds, and then He will reward them accordingly).
Hilali and Khan (QuranEnc.com)