Sahih al-Bukhari 6491
Abu Ma'mar narrated to us that Abdul Warith (bin Sa'id) told us. Ja'd (bin Dinar) Abu Uthman narrated to us that Abu Raja' Utaridi told us. Abu Raja' narrated from Hazrat Ibn Abbas (ra). He heard from the Prophet (saw), among those things which he used to narrate from his Lord, the Mighty and Glorious. Hazrat Ibn Abbas (ra) said: He (saw) said: “Allah has written down good deeds and evil deeds. Then He has explained them clearly. So whoever intended to do a good deed but did not do it, Allah will write for him with Himself one complete good deed. If he intended it and also did it, Allah will write for him with Himself ten good deeds, even up to seven hundred times, and even many times more than that. And whoever intended an evil deed but did not do it, Allah will write for him with Himself one complete good deed. And if he intended it and did it, Allah will write for him only one evil deed.”
AI-translated by Islam-Today