It wasnarrated from Ibn Mas'ud that a man came to the Prophet (ﷺ)andsaid that he had kissed a woman, and he started to ask aboutexpiation, but he (the Prophet (ﷺ)) did not say anything to him.Then Allah revealed the Verse:
"And perform prayers at the two endsofthe day and in some hours of the night. Verily, the good deedsremovethe evil deeds. That is a reminder for the mindful."[11:114] The mansaid: "O Messenger of Allah, is this (the Verse)just for me?" Hesaid: "It is for whoever acts upon it among mynation."
English reference: Vol. 5, Book 37, Hadith 4254
Arabic reference: Book 37, Hadith 4395