Sayyiduna Jabir bin Abdullah (may Allah be pleased with them both) said: A thief was brought to the Prophet (peace and blessings be upon him), and he (peace and blessings be upon him) said: "Kill him." They said: "O Messenger of Allah, he has only stolen." He (peace and blessings be upon him) said: "Amputate [his limb]." So it was amputated. Then he was brought a second time, and he (peace and blessings be upon him) said: "Kill him." They said: "O Messenger of Allah, he has only stolen." He (peace and blessings be upon him) said: "Amputate [his limb]." So it was amputated. Then he was brought a third time, and he (peace and blessings be upon him) said: "Kill him." They said: "O Messenger of Allah, he has only stolen." He (peace and blessings be upon him) said: "Amputate [his limb]." Then he was brought a fourth time, and he (peace and blessings be upon him) said: "Kill him." They said: "O Messenger of Allah, he has only stolen." He (peace and blessings be upon him) said: "Amputate [his limb]." Then he was brought a fifth time, and he (peace and blessings be upon him) said: "Kill him."
Sayyiduna Jabir (may Allah be pleased with him) said: So we took him away and killed him, then we dragged him and threw him into a well, and we threw stones on him.
In the narration of Abu Ma'shar: the first time they said: He has stolen, O Messenger of Allah, and he (peace and blessings be upon him) said: "Cut off his hand." The second time, after this exchange, he said: "Cut off his foot"; the third time: "Cut off his hand"; and the fourth time: "Cut off his foot." The fifth time he (peace and blessings be upon him) said: "Did I not tell you: Kill him, kill him?" He said: So we took him to the camels' enclosure and drove the camels at him, but he raised his hands and feet until the camels shied away from him. Then we pelted him with stones until we killed him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السرقة / 17259