A man kissed a woman, then came to the Prophet ﷺ and informed him about it. Allah then revealed, "And establish prayer at the two ends of the day and at the approach of the night. Indeed, good deeds drive away bad deeds" [Hud 11:114].The man asked, "Messenger of Allah, is this for me alone?"He replied, "It is for my entire ummah, all of them."
حدثنا قتيبة قال حدثنا يزيد بن زريع عن سليمان التيمي عن أبي عثمان النهدي
أن رجلا أصاب من امرأة قبلة فأتى النبي ﷺ فأخبره فأنزل الله عز وجل {أقم الصلاة طرفي النهار وزلفا من الليل إن الحسنات يذهبن السيئات} فقال الرجل يا رسول الله ألي هذا قال لجميع أمتي كلهم