A man came to the Prophet ﷺ and said: I contacted directly a women at the furthest part of the city (i.e., Medina), and I did with her everything except sexual intercourse. So here I am; inflict any punishment you wish. Thereupon ‘Umar said: Allah has concealed your fault; it would have been better if you also had concealed it yourself. The Prophet ﷺ sent a men after him. (When he came) he recited the verse: “And establish regular prayers at the two ends of the day and at the approaches of the night. . .” up to the end of the verse. A man from the people got up and asked: Is it particular to him, Messenger of Allah, or for the people in general? He replied: It is all the people. (Using translation from Abū Dāʾūd 4468)
إِنِّي عَالَجْتُ امْرَأَةً فِي أَقْصَى الْمَدِينَةِ فَأَصَبْتُ مِنْهَا مَا دُونَ أَنْ أَمَسَّهَا فَقَالَ عُمَرُ لَقَدْ سَتَرَكَ اللهُ لَوْ سَتَرْتَ عَلَى نَفْسِكَ وَلَمْ يَرُدَّ النَّبِيُّ ﷺ شَيْئًا فَقَامَ فَانْطَلَقَ فَأَتْبَعَهُ النَّبِيُّ ﷺ رَجُلًا فَدَعَاهُ فَلَمَّا أَتَاهُ قَرَأَ عَلَيْهِ {وَأَقِمِ الصَّلَاةَ طَرَفَيِ النَّهَارِ} [هود 114] إِلَى {لِلذَّاكِرِينَ} [هود 114] فَقَالَ رَجُلٌ مِنَ الْقَوْمِ هَذَا لَهُ يَا نَبِيَّ اللهُ خَاصَّةً؟ قَالَ «بَلِ لِلنَّاسِ كَافَّةً» قَالَ أَبُو عَبْدِ الرَّحْمَنِ الْمُرْسَلُ أَوْلَى بِالصَّوَابِ