Sayyiduna Abu Hurayrah (may Allah be pleased with him) narrates: A thief was brought to the Prophet (peace and blessings be upon him). The people said: "He has stolen." The Prophet (peace and blessings be upon him) said: "I do not think that he has stolen." He said: "Yes, O Messenger of Allah! I did steal." The Prophet (peace and blessings be upon him) said: "Take him away and cut off his hand, then cauterise it, then bring him to me." He was taken away, his hand was cut off, then it was cauterised (so that the bleeding would stop), then he was brought to the Prophet (peace and blessings be upon him), and the Prophet (peace and blessings be upon him) said: "Repent to Allah Almighty." He said: "I repent to Allah Almighty." The Prophet (peace and blessings be upon him) supplicated: "May Allah Almighty accept your repentance" (the narrator is unsure; perhaps the words were:) "O Allah! Accept his repentance."
Al-Bazzar recorded it from his teacher Ahmad bin Aban al-Qurashi, whom Ibn Hibban declared thiqah (trustworthy); the rest of its narrators are the narrators of the Sahih.
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الحدود والديات / 10662