Sahih Muslim
1671.08

Anas reported that Allah's Messenger (ﷺ) pierced their eyes because they had pierced the eyes of the shepherds