It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that a man kissed a woman, then came to the Prophet (peace and blessings be upon him) and said: O Messenger of Allah! I have done such and such. So Allah, the Mighty and Majestic, revealed: "And establish prayer at the two ends of the day and in some hours of the night; indeed, good deeds wipe out evil deeds" [Surah Hud: 114]. The man said: O Messenger of Allah! Is this for me alone? He (peace and blessings be upon him) said: "No, rather it is for my entire Ummah."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10514