“O Messenger of Allah ﷺ! I stole a camel belonging to Banu so-and-so; purify me!” The Prophet ﷺ sent word to them and they said: “(Yes), we have lost a camel of ours.” So the Prophet ﷺ ordered that his hand be cut off. Tha'labah said: “I was looking at him when his hand fell and he said (to it) 'Praise is to Allah (STW) Who has purified me of you; you wanted to cause my whole body to enter Hell.''' (Using translation from Ibn Mājah 2588)
أَنَّ عَمْرَو بْنَ حَبِيبِ بْنِ عَبْدِ شَمْسٍ جَاءَ إِلَى رَسُولِ اللهِ ﷺ فَقَالَ يَا رَسُولَ اللهِ إِنِّي سَرَقْتُ جَمَلًا لِبَنِي فُلَانٍ فَأَرْسَلَ إِلَيْهِمُ النَّبِيُّ ﷺ فَقَالُوا إِنَّا افْتَقَدْنَا جَمَلًا لَنَا «فَأَمَرَ النَّبِيُّ ﷺ فَقُطِعَتْ يَدُهُ» قَالَ ثَعْلَبَةُ أَنَا انْظُرُ إِلَيْهِ حِينَ وَقَعَتْ يَدُهُ وَهُوَ يَقُولُ الْحَمْدُ للَّهِ الَّذِي طَهِّرْنِي بِكَ أَرَدْتُ أَنْ تُدْخِلَ جَسَدِي النَّارَ