'When it occurs to My bondsman that he should do a good deed but he actually does not do it,
I record one good deed for him, but if he puts it into practice, I make an entry of ten good acts in his favour.
When it occurs to him to do evil, but he does not commit it, I forgive that. But if he commits it, I record one evil deed against his name.'
The above quotation was said by Prophet Muhammad (peace be upon him) Sahih Muslim Hadith 235 Narrated by Abu Huraira
Hadith-e-Qudsi is from Allah and the words are related from the Messenger of Allah (peace be upon him),