Sayyiduna Ali (may Allah be pleased with him) cut off the thief's hand from the root and put him in prison. When he had recovered, Sayyiduna Ali (may Allah be pleased with him) sent for him and brought him out, then said: Raise your hands to Allah. They say: We raised our hands. He says: Who cut you? They say: Ali (may Allah be pleased with him). Why? They say: We stole. He said: O Allah, bear witness! O Allah, bear witness!
Hadith Referenceالسنن الكبرى للبيهقي / كتاب السرقة / 17257