It is narrated from Sayyiduna Safwan bin Umayyah (may Allah be pleased with him) that a man stole (his) sheet, and he was brought to the Prophet (peace and blessings be upon him). He (peace and blessings be upon him) ordered that his hand be cut off. He said: "O Messenger of Allah, I have forgiven him." He (peace and blessings be upon him) said: "Why did you not do this before bringing him to me, O Abu Wahb?" So the Messenger of Allah (peace and blessings be upon him) cut off his hand.
Hadith Referenceالمعجم الكبير للطبراني / باب الصاد / 7306