Aslam

Surah Al-A'raf — 7:170
وَٱلَّذِينَ يُمَسِّكُونَ بِٱلۡكِتَٰبِ وَأَقَامُواْ ٱلصَّلَوٰةَ إِنَّا لَا نُضِيعُ أَجۡرَ ٱلۡمُصۡلِحِينَ
As for those who firmly abide by the Scripture and establish prayer—surely We never discount the reward of those acting righteously.

Commentary

Those who hold tightly to the scripture and act according to it, establishing the prayer as it should be established and in its set times, Allah will reward their actions – Allah does not allow the reward of those who act well to be lost.

Read Tafsir Ibn Kathir