An Nawawi Hadith Number 037 : The Authority Of Ibn Abbas

On the authority of Ibn Abbas that the messenger of Allah, among the sayings he relates from his Lord is :

"Allah has written down the good deeds and the bad ones." Then he explained it [by saying that] :" He who has intended a good deed and has not done it, Allah writes it down with Himself as a full good deed, but if he has intended it and has done it, Allah writes it down with Himself as from ten good deeds to seven hundred times, or many times over. But if he has intended a bad deed and has not done it, Allah writes it down with Himself as a full good deed, but if he has intended it and has done it, Allah writes it down as one bad deed."

Reporters.
Related by Bukhari and Muslim in their two salihs.