Sahih Muslim 1671
Sahih Muslim · Book 28: The Book of Oaths, Muharibin , Qasas (Retaliation), and Diyat (Blood Money) · The ruling on Muharibin and Apostates
وَحَدَّثَنِي الْفَضْلُ بْنُ سَهْلٍ الأَعْرَجُ ، حَدَّثَنَا يَحْيَى بْنُ غَيْلاَنَ ، حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ ، عَنْ سُلَيْمَانَ التَّيْمِيِّ ، عَنْ أَنَسٍ ، قَالَ إِنَّمَا سَمَلَ النَّبِيُّ صلى الله عليه وسلم أَعْيُنَ أُولَئِكَ لأَنَّهُمْ سَمَلُوا أَعْيُنَ الرِّعَاءِ .
Anas reported that Allah's Messenger (ﷺ) pierced their eyes because they had pierced the eyes of the shepherds.