فَمَنْ هَمَّ بِحَسَنَةٍ فَلَمْ يَعْمَلْهَا كَتَبَهَا اللَّهُ عِنْدَهُ حَسَنَةً كَامِلَةً، فَإِنْ هُوَ هَمَّ بِهَا فَعَمِلَهَا كَتَبَهَا اللَّهُ عَشْرَ حَسَنَاتٍ إِلَى سَبْعِ مِائَةِ ضِعْفٍ
Transliteration
Fa-man hamma bi-hasanatin fa-lam ya'malha katabaha-llahu 'indahu hasanatan kamilah, fa-in huwa hamma biha fa-'amilaha kataba-llahu 'ashra hasanatin ila sab'i mi'ati di'f.
Translation
Whoever intended a good deed and did not do it, Allah records it as a full good deed. If he did it, Allah records it as ten to seven hundred times. If he intended a bad deed and did not do it, Allah records it as a full good deed. If he did it, Allah records it as one bad deed.
Narrated by Ibn Abbas (hadith qudsi)·Sahih al-Bukhari 6491, Sahih Muslim 131·Nawawi's Forty · #37
