Sunan Ibn Majah, Book 20, Hadith 2695 (In-Book)

It was narrated from Ishaq bin Abu Talhah: “I heard Abu Mundhir, the freed slave of Abu Dharr, say that Abu Umayyah narrated to him, that a thief was brought to the Messenger of Allah and he admitted his crime, although the stolen goods were not found with him. The Messenger of Allah said: 'I do not think you stole them.’ He said: 'Yes I did.' Then he said (again): ‘I do not think that you stole them.’ and he said: 'Yes I did.' Then he ordered that his hand be cut off. The Prophet ' Say: I seek Allah's forgiveness and I repent to Him.' So he (the thief) said: 'I seek Allah's forgiveness and I repent to him.' He (the Prophet said twice: 'O Allah! Accept his repentance.”

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا سَعِيدُ بْنُ يَحْيَى، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ إِسْحَاقَ بْنِ أَبِي طَلْحَةَ، سَمِعْتُ أَبَا الْمُنْذِرِ، - مَوْلَى أَبِي ذَرٍّ - يَذْكُرُ أَنَّ أَبَا أُمَيَّةَ، حَدَّثَهُ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم أُتِيَ بِلِصٍّ فَاعْتَرَفَ اعْتِرَافًا وَلَمْ يُوجَدْ مَعَهُ الْمَتَاعُ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ مَا إِخَالُكَ سَرَقْتَ ‏"‏ ‏.‏ قَالَ بَلَى ‏.‏ ثُمَّ قَالَ ‏"‏ مَا إِخَالُكَ سَرَقْتَ ‏"‏ ‏.‏ قَالَ بَلَى ‏.‏ فَأَمَرَ بِهِ فَقُطِعَ ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ قُلْ أَسْتَغْفِرُ اللَّهَ وَأَتُوبُ إِلَيْهِ ‏"‏ ‏.‏ قَالَ أَسْتَغْفِرُ اللَّهَ وَأَتُوبُ إِلَيْهِ ‏.‏ قَالَ ‏"‏ اللَّهُمَّ تُبْ عَلَيْهِ ‏"‏ ‏.‏ مَرَّتَيْنِ ‏.‏

sunnah.com