Abdullah bin Masud reported,

A man came to the Prophet ﷺ and said, "Messenger of Allah, I was intimate with a woman at the far end of Madinah, and I took from her everything short of intercourse. Here I am, so judge me as you wish."Umar said to him, "Allah had concealed your sin, if only you had concealed it yourself."The Prophet ﷺ gave him no reply, so the man stood up and left. The Prophet ﷺ then sent a man after him to call him back, and he recited to him this verse, "And establish prayer at the two ends of the day and during parts of the night. Indeed, good deeds drive away bad deeds. That is a reminder for those who remember" [Hud 11:114].A man from the people asked, "Prophet of Allah, is this for him alone?"He answered, "No, it is for all people."

Azami 12555

Sahih

عن عبد الله قال

جاء رجل إلى النبي ﷺ، فقال: يا رسول الله! إنى عالجت امرأة في أقصى المدينة، وإني أصبت منها ما دون أن أمسها، فأنا هذا، فاقض فى ما شئت. فقال له عمر: لقد سترك الله لو سترت نفسك، قال: فلم يرد النبي ﷺ شيئا، فقام الرجل، فانطلق، فأتبعه النبي ﷺ رجلا دعاه، وتلا عليه هذه الآية: {وأقم الصلوة طرف النهار وزلفا من اليل إن الحسنت يذهبن السيئات ذلك ذكرى للذاكرين} فقال رجل من القوم: يا نبي الله! هذا له خاصة؟ قال: بل للناس كافة.

الأعظمي 12555صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
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." 114
Numbering
Jami al-Kamil 12555 (2nd edition)
Azami 12555