[Machine] A man came to the Messenger of Allah ﷺ and said, "O Messenger of Allah, I have committed a sin, so establish the punishment on me." The Messenger turned away from him. The man repeated this request two more times, and the Messenger turned away each time. Then, when the prayer was established and the Messenger of Allah ﷺ finished, the man said, "O Messenger of Allah, I have committed a sin, so establish the punishment on me." The Messenger asked him, "Did you perform ablution when you came?" The man replied, "Yes." The Messenger then asked him, "Did you pray with us when we prayed?" The man replied, "Yes." The Messenger then said, "Go, for Allah has forgiven you."
أَنَّ رَجُلًا أَتَى رَسُولَ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَأَعْرَضَ عَنْهُ ثُمَّ قَالَ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَأَعْرَضَ عَنْهُ ثُمَّ قَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا فَأَعْرَضَ عَنْهُ وَأُقِيمَتِ الصَّلَاةُ فَلَمَّا سَلَّمَ رَسُولُ اللهِ ﷺ قَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَقَالَ «هَلْ تَوَضَّأْتَ حِينَ أَقْبَلْتَ؟» قَالَ نَعَمْ قَالَ «هَلْ صَلَّيْتَ مَعَنَا حِينَ صَلَّيْنَا؟» قَالَ نَعَمْ قَالَ «اذْهَبْ فَإِنَّ اللهَ قَدْ عَفَا عَنْكَ»