[Machine] While I was sitting with the Prophet ﷺ , a man came and said, "O Messenger of Allah, I have committed a sin, so establish the punishment on me." The Prophet ﷺ remained silent. The man repeated his request, saying, "I have committed a sin, so establish the punishment on me." The Prophet ﷺ said, "The prayer has been established." Then the Messenger of Allah ﷺ entered and left. Shaddad said, "Abu Umamah told me that I walked with the Messenger of Allah ﷺ , and the man followed him, saying, 'O Messenger of Allah, I have committed a sin, so establish the punishment on me.' The Messenger of Allah ﷺ asked him, 'When you left your house, did you perform ablution and do it well?' He replied, 'Yes.' The Prophet ﷺ asked, 'Did you bear witness to the prayer with us?' He replied, 'Yes.' The Prophet ﷺ said, 'Indeed, Allah has forgiven your sin.'"
بَيْنَمَا أَنَا قَاعِدٌ عِنْدَ النَّبِيِّ ﷺ إِذْ جَاءَ رَجُلٌ فَقَالَ يَا رَسُولَ اللهِ أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَسَكَتَ النَّبِيُّ ﷺ فَأَعَادَ فَقَالَ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ قَالَ أُقِيمَتِ الصَّلَاةُ فَدَخَلَ رَسُولُ اللهِ ﷺ وَخَرَجَ قَالَ شَدَّادٌ فَحَدَّثَنِي أَبُو أُمَامَةَ قَالَ إِنِّي لَأَمْشِي مَعَ رَسُولِ اللهِ ﷺ وَالرَّجُلُ يَتْبَعُهُ وَهُوَ يَقُولُ يَا رَسُولَ اللهِ أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ فَقَالَ رَسُولُ اللهِ ﷺ «حِينَ خَرَجْتَ مِنْ بَيْتِكَ تَوَضَّأْتَ فَأَحْسَنْتَ؟» قَالَ بَلَى قَالَ «وَشَهِدَتَ الصَّلَاةَ مَعَنَا؟» قَالَ بَلَى قَالَ «فَإِنَّ اللهَ ﷻ قَدْ غَفَرَ لَكَ حَدَّكَ» أَوْ قَالَ «دَيْنَكَ»