Sayyiduna Ali (may Allah be pleased with him) said: When a person commits theft, his right hand should be cut off; if he steals again, his left foot should be cut off; if he steals yet again, I will imprison him, and I will keep him imprisoned until he reforms. I feel shy before Allah to leave him in such a state that he has no hand with which he can eat or clean himself, or no foot with which he can walk.
Hadith Referenceسنن الدارقطني / كتاب الحدود والديات وغيره / 3166