Sunan an-Nasa'i, Hadith 4043 ⓘ
It was narrated that Anas said: "The Prophet [SAW] only had the eyes of those people gouged out, because they had gouged out the eyes of the herdsmen."
أَخْبَرَنَا الْفَضْلُ بْنُ سَهْلٍ الأَعْرَجُ، قَالَ حَدَّثَنَا يَحْيَى بْنُ غَيْلاَنَ، - ثِقَةٌ مَأْمُونٌ - قَالَ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، عَنْ سُلَيْمَانَ التَّيْمِيِّ، عَنْ أَنَسٍ، قَالَ إِنَّمَا سَمَلَ النَّبِيُّ صلى الله عليه وسلم أَعْيُنَ أُولَئِكَ لأَنَّهُمْ سَمَلُوا أَعْيُنَ الرُّعَاةِ .
also referenced under: Book 37, Hadith 78 (In-Book) & Volume 5, Book 37, Hadith 4048 (DarusSalam)