Anas bin Malik reported,

The Prophet ﷺ gouged out the eyes of those men only because they had gouged out the eyes of the shepherds.

Nasai 4048

Sahih

أخبرنا الفضل بن سهل الأعرج قال حدثنا يحيى بن غيلان ثقة مأمون قال حدثنا يزيد بن زريع عن سليمان التيمي

عن أنس قال

إنما سمل النبي ﷺ أعين أولئك لأنهم سملوا أعين الرعاة

النسائي 4048صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prohibition of bloodshed
Chapter
Disagreement between Talha bin Musarrif and Muawiya bin Salih regarding Yahya bin Saeed in this hadith
Numbering
Darussalam 4048
Nasai 4048