Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Allah says to the angels: If My servant intends to commit a sin, do not record it against him until he does it. If he does it, record it against him as one bad deed. If he leaves it for My sake, record it for him as one good deed. If he intends to do a good deed and he does not do it, record it for him as one good deed. If he does it, record it for him as ten good deeds up to seven hundred times as much.”
Source: Ṣaḥīḥ al-Bukhārī 7501, Ṣaḥīḥ Muslim 128
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ أَبِي هُرَيْرَةَ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ يَقُولُ اللَّهُ يعنى إلى الملائكة إِذَا أَرَادَ عَبْدِي أَنْ يَعْمَلَ سَيِّئَةً فَلَا تَكْتُبُوهَا عَلَيْهِ حَتَّى يَعْمَلَهَا فَإِنْ عَمِلَهَا فَاكْتُبُوهَا بِمِثْلِهَا وَإِنْ تَرَكَهَا مِنْ أَجْلِي فَاكْتُبُوهَا لَهُ حَسَنَةً وَإِذَا أَرَادَ أَنْ يَعْمَلَ حَسَنَةً فَلَمْ يَعْمَلْهَا فَاكْتُبُوهَا لَهُ حَسَنَةً فَإِنْ عَمِلَهَا فَاكْتُبُوهَا لَهُ بِعَشْرِ أَمْثَالِهَا إِلَى سَبْعِ مِائَةِ ضِعْفٍ
7501 صحيح البخاري كتاب التوحيد باب قول الله تعالى يريدون أن يبدلوا كلام الله
128 صحيح مسلم كتاب الإيمان باب إذا هم العبد بحسنة كتبت وإذا هم بسيئة لم تكتب