(14) باب تَوْبَةِ السَّارِقِ
Narrated Ubada bin As-Samit:
I gave the pledge of allegiance to the Prophet (ﷺ) with a group of people, and he said, "I take your pledge that you will not worship anything besides Allah, will not steal, will not commit infanticide, will not slander others by forging false statements and spreading it, and will not disobey me in anything good. And whoever among you fulfill all these (obligations of the pledge), his reward is with Allah. And whoever commits any of the above crimes and receives his legal punishment in this world, that will be his expiation and purification. But if Allah screens his sin, it will be up to Allah, Who will either punish or forgive him according to His wish." Abu `Abdullah said: "If a thief repents after his hand has been cut off, the his witness well be accepted. Similarly, if any person upon whom any legal punishment has been inflicted, repents, his witness will be accepted."
Reference: Sahih al-Bukhari 6801
In-book reference: Book 86, Hadith 31
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 8, Book 81, Hadith 793