Sayyiduna Anas bin Malik (may Allah be pleased with him) narrates: The Prophet Muhammad (peace and blessings be upon him) had needles passed through the eyes of those people because they had passed needles through the eyes of the shepherds.
Hadith Referenceصحیح ابن حبان / كتاب الحدود / 4474
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «النسائي» (4043): م.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح