Sahih al-Bukhari 4687
Book 65: Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh)) · Narrated by Ibn Masud
Arabic
حَدَّثَنَا مُسَدَّدٌ، حَدَّثَنَا يَزِيدُ ـ هُوَ ابْنُ زُرَيْعٍ ـ حَدَّثَنَا سُلَيْمَانُ التَّيْمِيُّ، عَنْ أَبِي عُثْمَانَ، عَنِ ابْنِ مَسْعُودٍ ـ رضى الله عنه ـ أَنَّ رَجُلاً، أَصَابَ مِنَ امْرَأَةٍ قُبْلَةً، فَأَتَى رَسُولَ اللَّهِ صلى الله عليه وسلم فَذَكَرَ ذَلِكَ لَهُ فَأُنْزِلَتْ عَلَيْهِ {وَأَقِمِ الصَّلاَةَ طَرَفَىِ النَّهَارِ وَزُلَفًا مِنَ اللَّيْلِ إِنَّ الْحَسَنَاتِ يُذْهِبْنَ السَّيِّئَاتِ ذَلِكَ ذِكْرَى لِلذَّاكِرِينَ}. قَالَ الرَّجُلُ أَلِيَ هَذِهِ قَالَ " لِمَنْ عَمِلَ بِهَا مِنْ أُمَّتِي ".
English translation
Narrated Ibn Masud:A man kissed a woman and then came to Allah's Messenger (ﷺ) and told him of that, so this Divine Inspiration was revealed to the Prophet (ﷺ) 'And offer Prayers perfectly at the two ends of the day, and in some hours of the night; (i.e. (five) compulsory prayers). Verily, the good deeds remove the evil deeds (small sins) That is a reminder for the mindful.' (11.114) The man said, Is this instruction for me only?' The Prophet (ﷺ) said, "It is for all those of my followers who encounter a similar situation
Reference: Sahih al-Bukhari 4687, Book of Prophetic Commentary on the Qur'an (Tafseer of the Prophet (pbuh)). English translation by Dr. Muhammad Muhsin Khan.