Narrated by Ibn Mas'ud radiyAllahu anhu:
A man kissed a woman and then came to Allah’s Messenger sallaAllahu
‘alayhi wa sallam and told him of that. So this Divine Revelation was
revealed to the Prophet sallaAllahu 'alayhi wa sallam - “And perform
As-Salat (Iqamat-as-Salat) at the two ends of the day, and in some hours
of the night [i.e. the (five) compulsory Salat (prayers)]. Verily, the
good deeds remove the evil deeds (small sins). That is a reminder for
the mindful.” (Qur'an 11:114). The man said, “Is this instruction for me
only?” The Prophet sallaAllahu 'alayhi wa sallam said, “It is for all
those of my followers who encounter similar situation.”
(Sahih
Al-Bukhari, Vol. 6, Hadith No. 209).