Abdullah bin Masud reported,

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."

Bukhari 4687

Sahih

حدثنا مسدد حدثنا يزيد هو ابن زريع حدثنا سليمان التيمي عن أبي عثمان

عن ابن مسعود رضي الله عنه

أن رجلا أصاب من امرأة قبلة فأتى رسول الله ﷺ فذكر ذلك له فأنزلت عليه {وأقم الصلاة طرفي النهار وزلفا من الليل إن الحسنات يذهبن السيئات ذلك ذكرى للذاكرين} قال الرجل ألي هذه قال لمن عمل بها من أمتي

البخاري 4687صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
His saying, "And establish prayer at the two ends of the day and at the approach of the night. Indeed, good deeds do away with misdeeds. That is a reminder for those who remember."
Numbering
Darussalam 4687
Bukhari 4687