IBNHIBBAN 1727:
from Wāthilah b. al-Asqaʿ —
[Machine] A man came to the Messenger of Allah ﷺ and said, "O Messenger of Allah, I have committed a sin, so please establish the punishment upon me." He turned away from him. Then he said again, "O Messenger of Allah, I have committed a sin, so please establish the punishment upon me." Again, he turned away from him. Then the prayer was performed, and when he finished, he said, "O Messenger of Allah, I have committed a sin, so please establish the punishment upon me." The Messenger of Allah ﷺ asked, "Did you perform ablution when you came?" He said, "Yes." He asked, "Did you pray with us?" He said, "Yes." The Messenger of Allah ﷺ said, "Then go, for surely Allah has forgiven you."
ابن حبّان ١٧٢٧:
عن واثله بن الاسقع —
جَاءَ رَجُلٌ إِلَى رَسُولِ اللَّهِ ﷺ فَقَالَ يَا رَسُولَ اللَّهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ قَالَ فَأَعْرَضَ عَنْهُ ثُمَّ قَالَ يَا رَسُولَ اللَّهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَأَعْرَضَ عَنْهُ ثُمَّ أُقِيمَتِ الصَّلَاةُ فَلَمَّا سَلَّمَ قَالَ يَا رَسُولَ اللَّهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَقَالَ رَسُولُ اللَّهِ ﷺ «هَلْ تَوَضَّأْتَ حِينَ أَقْبَلْتَ؟ » قَالَ نَعَمْ قَالَ «صَلَّيْتَ مَعَنَا؟ » قَالَ نَعَمْ قَالَ «فَاذْهَبْ فَإِنَّ اللَّهَ قَدْ غَفَرَ لَكَ»
hadithunlocked.com