Sahih Bukhari – Hadith No : 6889

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.”

Hadith In Arabic Text :

حدثنا عبد الله بن محمد الجعفي، حدثنا هشام بن يوسف، أخبرنا معمر، عن الزهري، عن أبي إدريس، عن عبادة بن الصامت رضى الله عنه قال بايعت رسول الله صلى الله عليه وسلم في رهط، فقال ‏”‏ أبايعكم على أن لا تشركوا بالله شيئا، ولا تسرقوا، ولا تقتلوا أولادكم، ولا تأتوا ببهتان تفترونه بين أيديكم وأرجلكم، ولا تعصوني في معروف، فمن وفى منكم فأجره على الله، ومن أصاب من ذلك شيئا فأخذ به في الدنيا فهو كفارة له وطهور، ومن ستره الله فذلك إلى الله، إن شاء عذبه وإن شاء غفر له ‏”‏‏.‏ قال أبو عبد الله إذا تاب السارق بعد ما قطع يده، قبلت شهادته، وكل محدود كذلك إذا تاب قبلت شهادته‏.‏

Chapter : Limits and Punishments set by Allah (Hudood) – كتاب الحدود