Anas bin Malik reported,

Rabi, the paternal aunt of Anas bin Malik, broke the front tooth of a young Ansari girl. The girl's family demanded retaliation, so they brought the matter before the Prophet ﷺ, who ordered that retaliation be carried out.Anas bin Nadr, the paternal uncle of Anas bin Malik, said, "No, by Allah, her tooth shall not be broken, Messenger of Allah."The Messenger of Allah ﷺ replied, "Anas, the Book of Allah prescribes retaliation."The family then agreed to accept compensation instead.The Messenger of Allah ﷺ said, "Among the servants of Allah are those who, if they swear an oath by Allah, He fulfills it for them."

Azami 12255

Sahih

عن أنس بن مالك قال

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

الأعظمي 12255صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Tafsir of the great Quran
Chapter
Virtues of Surah Baqarah
Section
His saying, "And We ordained for them therein that the soul for the soul, and the eye for the eye, and the nose for the nose, and the ear for the ear, and the tooth for the tooth, and for wounds is legal retribution. But whoever gives it as charity, it is an expiation for him. And whoever does not judge by what Allah has revealed, then it is those who are"
Numbering
Jami al-Kamil 12255 (2nd edition)
Azami 12255