The Prophet ﷺ said, "Whoever intends to do a good deed but does not carry it out, one good deed is recorded for him. If he carries it out, ten good deeds are recorded for him. Whoever intends to do a bad deed but does not carry it out, nothing is recorded against him. If he carries it out, a single bad deed is recorded against him."
حدثنا يزيد أخبرنا هشام عن محمد
عن النبي ﷺ قال من هم بحسنة فلم يعملها كتبت له حسنة فإن عملها كتبت له عشر حسنات ومن هم بسيئة فلم يعملها لم تكتب عليه فإن عملها كتبت عليه سيئة واحدة