بِسْمِ اللهِ الرَّحْمنِ الرَّحِيمِ
Abdullah bin 'Abaas (peace be upon him) reported:
The Messenger of Allah (صلى الله عليه وسلم) said that Allah, the Glorious said,
"Verily, Allah Ta'ala has ordered that the good and the bad deeds be written down. Then he explained it clearly how (to write): He who intends to do a good deed but he does not do it, then Allah records it for him as a full good deed, but if he carries out his intention, then Allah the exalted, writes it down for him as from ten to seven hundred folds, and even more. But if he intends to do an evil act and has not done it, then Allah writes it down with him as a full good deed, but if he intends it and has done it, Allah writes it down as one bad deed."
[Al-Bukhari and Muslim]