كتاب القسامة والمحاربين والقصاص والديات
28  
The Book of Oaths, Muharibin, Qasas (Retaliation), and Diyat (Blood Money)
(4)
Chapter: If a person attacks another person's life and limb, and the other defends himself and kills him or injures him, there is no penalty on him
(4)
باب الصَّائِلُ عَلَى نَفْسِ الإِنْسَانِ أَوْ عُضْوِهِ إِذَا دَفَعَهُ الْمَصُولُ عَلَيْهِ فَأَتْلَفَ نَفْسَهُ أَوْ عُضْوَهَ لاَ ضَمَانَ عَلَيْهِ
Sahih Muslim 1673 d

'Imran b. Husain reported that a person bit the hand of a person. He withdrew his hand and his foretooth or foreteeth fell down. He (the man who lost his teeth) referred the matter to Allah's Messenger (ﷺ) and he said, What do you want me to do? Do you ask me that I should order him to put his hand in your mouth, and you should bite it as the camel bites? (If you want retaliation, then the only way out is) that you put your hand in his mouth (allow him) to bite that and then draw it away.

حَدَّثَنَا أَحْمَدُ بْنُ عُثْمَانَ النَّوْفَلِيُّ، حَدَّثَنَا قُرَيْشُ بْنُ أَنَسٍ، عَنِ ابْنِ عَوْنٍ، عَنْ مُحَمَّدِ، بْنِ سِيرِينَ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ، أَنَّ رَجُلاً، عَضَّ يَدَ رَجُلٍ فَانْتَزَعَ يَدَهُ فَسَقَطَتْ ثَنِيَّتُهُ أَوْ ثَنَايَاهُ فَاسْتَعْدَى رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ مَا تَأْمُرُنِي تَأْمُرُنِي أَنْ آمُرَهُ أَنْ يَدَعَ يَدَهُ فِي فِيكَ تَقْضَمُهَا كَمَا يَقْضَمُ الْفَحْلُ ادْفَعْ يَدَكَ حَتَّى يَعَضَّهَا ثُمَّ انْتَزِعْهَا ‏"‏ ‏.‏
Reference : Sahih Muslim 1673d
In-book reference : Book 28, Hadith 29
USC-MSA web (English) reference : Book 16, Hadith 4147
  (deprecated numbering scheme)