Sayyiduna Abu Hurayrah (may Allah be pleased with him) says that a thief who had stolen a cloak was brought to him (peace and blessings be upon him). They said: O Messenger of Allah, this man has stolen. He (peace and blessings be upon him) said: "I do not think he stole." The thief said: Yes indeed, O Messenger of Allah! So he (peace and blessings be upon him) said: "Take him away and cut off his hand, then cauterize it, then bring him to me." His hand was cut off and he was brought to him (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Repent to Allah." He said: I have repented to Allah. He (peace and blessings be upon him) said: "May Allah accept your repentance."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السرقة / 17254