A thief who had accepted (having committed theft) was brought to the Prophet ﷺ, but no good were found with him. The Messenger of Allah ﷺ, said to him: I do not think you have stolen. He said: Yes, I have. He repeated it twice or thrice. So he gave orders. His hand was cut off and he was then brought to him. He said: Ask Allah's pardon and turn to Him in repentance. He said: I ask Allah's pardon and turn to Him in repentance. He (the Prophet) then said: O Allah, accept his repentance. Abu Dawud said: It has been transmitted by 'Amr b. Asim, from Hammam, from Ishaq b. 'Abd Allah from Abu Ummayyah, a man of the Ansar from the Prophet ﷺ.
أَنَّ النَّبِيَّ ﷺ أُتِيَ بِلِصٍّ قَدِ اعْتَرَفَ اعْتِرَافًا وَلَمْ يُوجَدْ مَعَهُ مَتَاعٌ فَقَالَ رَسُولُ اللَّهِ ﷺ مَا إِخَالُكَ سَرَقْتَ قَالَ بَلَى فَأَعَادَ عَلَيْهِ مَرَّتَيْنِ أَوْ ثَلاَثًا فَأَمَرَ بِهِ فَقُطِعَ وَجِيءَ بِهِ فَقَالَ اسْتَغْفِرِ اللَّهَ وَتُبْ إِلَيْهِ فَقَالَ أَسْتَغْفِرُ اللَّهَ وَأَتُوبُ إِلَيْهِ فَقَالَ اللَّهُمَّ تُبْ عَلَيْهِ ثَلاَثًا