[Machine] I was with the Prophet ﷺ when a man came to him and said, "O Messenger of Allah, I have committed a sin, so establish the punishment on me." The Prophet did not ask him about it. Then the prayer was held, so he prayed with the Prophet ﷺ . When the Prophet ﷺ finished the prayer, the man came to him and said, "O Messenger of Allah, I have committed a sin, so establish the punishment on me according to the Book of Allah." The Prophet ﷺ said, "Didn't you pray with us?" He said, "Yes." The Prophet ﷺ said, "Indeed, Allah has forgiven your sin."
كُنْتُ مَعَ النَّبِيِّ ﷺ فَجَاءَهُ رَجُلٌ فَقَالَ يَا رَسُولَ اللهِ إِنِّي أَصَبْتُ حَدًّا فَأَقِمْهُ عَلَيَّ قَالَ وَلَمْ يَسْأَلْهُ عَنْهُ فَحَضَرَتِ الصَّلَاةُ قَالَ فَصَلَّى مَعَ النَّبِيِّ ﷺ فَلَمَّا قَضَى النَّبِيُّ ﷺ الصَّلَاةَ قَامَ إِلَيْهِ الرَّجُلُ فَقَالَ يَا رَسُولَ اللهِ إِنِّي قَدْ أَصَبْتُ حَدًّا فَأَقِمْ عَلَيَّ كِتَابَ اللهِ قَالَ أَلَيْسَ قَدْ صَلَّيْتَ مَعَنَا؟ قَالَ نَعَمْ قَالَ فَإِنَّ اللهَ قَدْ غَفَرَ لَكَ ذَنْبَكَ