Ibn Mas'ud (May Allah be pleased with him) reported:
A man kissed a woman. So he came to the Messenger of Allah (ﷺ) and informed him about it. Then Allah revealed this Ayah: "And perform the Salat, between the two ends of the day and in some hours of the night. Verily, the good deeds efface the evil deeds (i.e., minor sins)." (11:114) The man asked the Messenger of Allah (ﷺ) whether this applies to him only. The Messenger of Allah (ﷺ) said, "It applies to all of my Ummah."[Al-Bukhari and Muslim].
App reference: Book 9, Hadith 54
Arabic/English book reference: Book 9, Hadith 1044