The Prophet ﷺ, narrating from his Lord , said, "Allah has recorded good deeds and bad deeds," then He explained that."Whoever intends a good deed but does not do it, Allah records it with Him as one complete good deed. If he intends it and does it, Allah records it with Him as ten good deeds, up to seven hundred times, up to many times more.Whoever intends a bad deed but does not do it, Allah records it with Him as one complete good deed. If he intends it and does it, Allah records it as a single bad deed."
عن النبي ﷺ فيما يروي عن ربه عز وجل قال: إن الله كتب الحسنات والسيئات، ثم بين ذلك، فمن هم بحسنة فلم يعملها كتبها الله له عنده حسنة كاملة، فإن هو هم بها فعملها كتبها الله له عنده عشر حسنات إلى سبعمائة ضعف إلى أضعاف كثيرة. ومن هم بسيئة فلم يعملها كتبها الله له عنده حسنة كاملة، فإن هو هم بها فعملها كتبها الله له سيئة واحدة.
Bukhari narrated it in the Book of Riqaq (6491), and Muslim in the Book of Iman (131), both from the hadith of Abdul-Warith, from Jaad Abu Uthman, who said, Abu Raja Attaradi narrated to us, from Ibn Abbas, and he mentioned it.Muslim added, "And Allah erased it, and none perishes before Allah except one who is truly doomed."