GOOD DEEDS MAKE AMENDS FOR SINS H 1060 "A man kissed a woman so he went to the Messenger of Allah, praise and peace be upon him, and told him. Then, Allah sent down the verse 'And establish your prayers at the two edges of the day and in part of the night. Good deeds will repel evil deeds... ' (11:114 Koran). The man asked, 'O Messenger of Allah, praise and peace be upon him, is this for me?' He answered, 'It is for all my nation, everyone of them.'" R 1060 Bukhari and Muslim with a chain up to ibn Mas'ud who related that the Messenger of Allah, praise and peace be upon him, said this.
1044- وعن ابن مسعود رضي الله عنه : أنَّ رَجُلاً أصَابَ مِن امْرَأَةٍ قُبْلَةً ، فَأتَى النبيَّ صلى الله عليه وآله وسلم فَأخْبَرَهُ فَأنْزَلَ اللهُ تَعَالَى : [ أَقِمِ الصَّلاَةَ طَرَفَيِ النَّهَارِ وَزُلَفاً مِنَ اللَّيْلِ ، إنَّ الحَسَنَاتِ يُذْهِبْنَ السَّيِّئَاتِ ] [ هود : 114 ] فَقَالَ الرَّجُلُ أَلِيَ هَذَا ؟ قَالَ : "لِجَمِيعِ أُمَّتِي كُلِّهِمْ" متفقٌ عَلَيْهِ .