Anas bin Malik reported,

Rabi broke the front tooth of a young girl. Her family asked them for pardon, but they refused. They were then offered compensation, but they still refused. So they came to the Prophet ﷺ, who ordered retaliation.Anas bin Nadr said, "Messenger of Allah, will Rabi's tooth be broken? No, by the One who sent you with the truth, it shall not be broken!"The Prophet ﷺ replied, "Anas, the Book of Allah prescribes retaliation."But the people accepted the offer and pardoned her. The Prophet ﷺ then said, "Among the servants of Allah there are some who, if they were to swear an oath by Allah, He would fulfill it for them."

Nasai 4761

Sahih

أخبرنا محمد بن المثنى قال حدثنا خالد قال حدثنا حميد

عن أنس قال

كسرت الربيع ثنية جارية فطلبوا إليهم العفو فأبوا فعرض عليهم الأرش فأبوا فأتوا النبي ﷺ فأمر بالقصاص قال أنس بن النضر يا رسول الله تكسر ثنية الربيع لا والذي بعثك بالحق لا تكسر قال يا أنس كتاب الله القصاص فرضي القوم وعفوا فقال إن من عباد الله من لو أقسم على الله لأبره

النسائي 4761صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Sworn testimony
Chapter
Retaliation for a tooth
Numbering
Darussalam 4761
Nasai 4761