Sunan an-Nasa'i, Book 37, Hadith 78 (Nasa'i 4053)

It was narrated that Anas said:

"The Prophet only had the eyes of those people gouged out, because they had gouged out the eyes of the herdsmen."