[Machine] A man came to the Messenger of Allah ﷺ and said, "I have committed a sin, so impose the punishment on me." But the Messenger of Allah turned away from him. Then he said, "I have committed a sin, so impose the punishment on me." But again the Messenger of Allah turned away from him. Then he said, "O Messenger of Allah, I have committed a sin, so impose the punishment on me." But the Messenger of Allah turned away from him. Then the prayer was established. When the Messenger of Allah finished the prayer, he said, "O Messenger of Allah, I have committed a sin, so impose the punishment on me." He (the Prophet) said, "Did you perform ablution?" He said, "Yes." He (the Prophet) said, "And did you pray when we prayed?" He said, "Yes." He (the Prophet) said, "Then go, for Allah has forgiven you."
أَنَّ رَجُلًا أَتَى رَسُولَ اللهِ ﷺ فَقَالَ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَأَعْرَضَ عَنْهُ ثُمَّ قَالَ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَأَعْرَضَ عَنْهُ ثُمَّ قَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَأَعْرَضَ عَنْهُ فَأُقِيمَتِ الصَّلَاةُ فَلَمَّا سَلَّمَ قَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ قَالَ «هَلْ تَوَضَّأْتَ؟» قَالَ نَعَمْ قَالَ «فَهَلْ صَلَّيْتَ حِينَ صَلَّيْنَا؟» قَالَ نَعَمْ قَالَ «اذْهَبْ فَقَدْ عَفَا اللهُ عَنْكَ»