Abu Hurairah reported,

Allah says, "When My servant intends to commit a bad deed, do not record it against him until he actually does it. If he carries it out, record it as one bad deed. If he abandons it for My sake, record it for him as a good deed. And when he intends to do a good deed but does not do it, record it for him as one good deed. If he carries it out, record it for him as ten good deeds, up to seven hundred."

Azami 12331

Sahih

عن أبي هريرة

يقول الله إذا أراد عبدي أن يعمل سيئة فلا تكتبوها عليه حتى يعملها، فإن عملها فاكتبوها بمثلها، وإن تركها من أجلي فاكتبوها له حسنة، وإذا أراد أن يعمل حسنة فلم يعملها فاكتبوها له حسنة، فإن عملها فاكتبوها له بعشر أمثالها إلى سبعمائة.

الأعظمي 12331صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "Whoever comes with a good deed will have ten like it, and whoever comes with an evil deed will not be recompensed except with the like of it, and they will not be wronged"
Numbering
Jami al-Kamil 12331 (2nd edition)
Azami 12331