COMMENTARY on 17:25
A. Yusuf Ali:

Translation:
Your Lord knoweth best what is in your hearts: If you do deeds of righteousness, verily He is Most Forgiving to those who turn to Him again and again (in true penitence). 2207
Commentary:

2207  It is the heart, and its hidden and secret motives, by which we are judged: for Allah knows them all.

 

Muhammad Asad:

Translation:
Your Sustainer is fully aware of what is in your hearts. If you are righteous, [He will forgive you your errors]: 29 for, behold, He is much-forgiving to those who turn unto Him again and again.
Commentary:
29  This interpolation gives the meaning of the above elliptic sentence (Tabari, Baghawi Zamakhshari, Razi).