A man kissed a woman, then came to the Messenger of Allah ﷺ and told him about it. Then the verse was revealed to him, "And establish prayer at the two ends of the day and at the approach of the night. Indeed, good deeds wipe away bad deeds. That is a reminder for those who remember" [Hud 11:114].The man asked, "Is this for me?"He replied, "It is for whoever among my community acts upon it."
حدثنا مسدد حدثنا يزيد هو ابن زريع حدثنا سليمان التيمي عن أبي عثمان
أن رجلا أصاب من امرأة قبلة فأتى رسول الله ﷺ فذكر ذلك له فأنزلت عليه {وأقم الصلاة طرفي النهار وزلفا من الليل إن الحسنات يذهبن السيئات ذلك ذكرى للذاكرين} قال الرجل ألي هذه قال لمن عمل بها من أمتي