Sayyiduna Abu Hurairah (may Allah be pleased with him) narrated from the Messenger of Allah (peace and blessings be upon him), he (peace be upon him) said: "Whoever intends to do a good deed but does not do it, one good deed is written for him; if he does it, then ten good deeds are written for him. And whoever intends to do an evil deed but does not do it, nothing is written against him; and if he does it, then only one evil deed is written."
Hadith Referenceمسند اسحاق بن راهويه / كتاب الايمان / 40
Hadith Takhrij«بخاري ، كتاب التوحيد ، رقم : 7501 . مسلم ، كتاب الايمان ، باب اذاهم العبد بحسنة الخ ، رقم : 130 . مسند احمد : 234/2»