Jami` at-Tirmidhi 3073
Narrated Abu Hurairah:
that the Messenger of Allah ﷺ said: "Allah, Blessed and Most High, has said - and His saying is the Truth: 'When My slave considers doing something good then write it as one good for him. If he acts upon it then write ten of the same for him. And when he considers doing something evil, then do not write it. If he acts upon it, then write it. If he leaves it" - and perhaps he said: "if he does not act upon it, then write a good reward for him.'" Then he [the Prophet ﷺ] recited: Whoever comes with a good, then he shall have ten the like thereof (6:160).
حَدَّثَنَا ابْنُ أَبِي عُمَرَ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ " قَالَ اللَّهُ عَزَّ وَجَلَّ وَقَوْلُهُ الْحَقُّ إِذَا هَمَّ عَبْدِي بِحَسَنَةٍ فَاكْتُبُوهَا لَهُ حَسَنَةً فَإِنْ عَمِلَهَا فَاكْتُبُوهَا لَهُ بِعَشْرِ أَمْثَالِهَا وَإِذَا هَمَّ بِسَيِّئَةٍ فَلاَ تَكْتُبُوهَا فَإِنْ عَمِلَهَا فَاكْتُبُوهَا بِمِثْلِهَا فَإِنْ تَرَكَهَا وَرُبَّمَا قَالَ لَمْ يَعْمَلْ بِهَا فَاكْتُبُوهَا لَهُ حَسَنَةً ثُمَّ قَرَأَ : ( مَنْ جَاءَ بِالْحَسَنَةِ فَلَهُ عَشْرُ أَمْثَالِهَا ) " .
قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ .