Abdullah ibn Mas’ud reported: A man kissed a woman and he came to the Prophet, peace and blessings be upon him, and mentioned it to him. The verse was revealed, “Perform prayer at the two ends of the day and in the first hours of the night. Verily, good deeds remove evil deeds.” (11:114) The man said, “O Messenger of Allah, is it for me only?” The Prophet said, “It is for all who act upon it from my nation.”
Source: Ṣaḥīḥ al-Bukhārī 4687, Ṣaḥīḥ Muslim 2763
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ أَنَّ رَجُلًا أَصَابَ مِنْ امْرَأَةٍ قُبْلَةً فَأَتَى النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَذَكَرَ ذَلِكَ لَهُ قَالَ فَنَزَلَتْ أَقِمْ الصَّلَاةَ طَرَفَيْ النَّهَارِ وَزُلَفًا مِنْ اللَّيْلِ إِنَّ الْحَسَنَاتِ يُذْهِبْنَ السَّيِّئَاتِ ذَلِكَ ذِكْرَى لِلذَّاكِرِينَ قَالَ فَقَالَ الرَّجُلُ أَلِيَ هَذِهِ يَا رَسُولَ اللَّهِ قَالَ لِمَنْ عَمِلَ بِهَا مِنْ أُمَّتِي
4687 صحيح البخاري كتاب تفسير القرآن سورة هود باب قوله وأقم الصلاة طرفي النهار وزلفا من الليل إن الحسنات يذهبن السيئات ذلك ذكرى للذاكرين
2763 صحيح مسلم كتاب التوبة باب قوله تعالى إن الحسنات يذهبن السيئات