Sahih Muslim 177
Hammam bin Munabbih says: This is a narration which Hazrat Abu Hurairah (ra) related from Muhammad, the Messenger of Allah (saw). He said that the Messenger of Allah (saw) said: “Allah, the Mighty and Glorious, says: ‘When My servant says that he will do a good deed, I write it as one good deed in his favour as long as he has not done it, and when he does it, I write for him ten like it. And when he says: I will do an evil deed, I forgive him for it as long as he has not done it. When he does it, I write against him just that one (evil deed).’” And the Messenger of Allah (saw) also said: “The angels say: ‘O my Lord! This servant of Yours intends to do an evil deed,’ although He (Allah the Exalted) sees him better. He says: ‘Keep watch over him. If he does it, write one evil deed against him, and if he abandons it, write one good deed in his favour, for he has abandoned it only for My sake.’” And the Messenger of Allah (saw) said: “When one of you makes his Islam excellent, every good deed he does is written as from ten up to seven hundred times, and every evil deed he does is written just as it is, until he meets Allah.”
AI-translated by Islam-Today