[Machine] We were with the Prophet ﷺ when a man came to him and said, "O Messenger of Allah, I have committed a sin from the limits set by Allah. So establish the punishment on me." The Prophet turned away from him. Then he came to him a second time, and the Prophet turned away from him again. Then he came to him a third time, and the Prophet turned away from him again. Then the prayer was established. When the Prophet ﷺ finished the prayer, the man said, "O Messenger of Allah, I have committed a sin from the limits set by Allah. So establish the punishment on me." The Prophet ﷺ said, "Did you not perform ablution and perfect it? Did you not purify yourself and perfect it? Did you not pray with us earlier?" The man said yes. The Prophet ﷺ said, "Then go, for it is your expiation."
كُنَّا عِنْدَ النَّبِيِّ ﷺ فَأَتَاهُ رَجُلٌ فَقَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا مِنْ حُدُودِ اللهِ فَأَقِمْ فِيَّ حَدَّ اللهِ فَأَعْرَضَ عَنْهُ ثُمَّ أَتَاهُ الثَّانِيَةَ فَأَعْرَضَ عَنْهُ ثُمَّ أَتَاهُ الثَّالِثَةَ فَأَعْرَضَ عَنْهُ فَأُقِيمَتِ الصَّلَاةُ فَلَمَّا قَضَى النَّبِيُّ ﷺ الصَّلَاةَ قَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا مِنْ حُدُودِ اللهِ فَأَقِمْ فِيَّ حَدَّ اللهِ قَالَ «أَوَلَيْسَ قَدْ تَوَضَّأْتَ فَأَحْسَنْتَ الْوُضُوءَ وَتَطَهَّرْتَ فَأَحْسَنْتَ الطُّهُورَ وَشَهِدْتَ مَعَنَا الصَّلَاةَ آنِفًا» قَالَ بَلَى قَالَ «اذْهَبْ فَهِيَ كَفَّارَتُكَ»