A group of men from the tribe of Ukl came to the Prophet ﷺ, but they found the climate of Medina unhealthy. So the Prophet ﷺ instructed them to go out to the camels of charity and drink from their urine and milk. They did so, then killed the herdsman and drove the camels away. The Prophet ﷺ sent men in pursuit of them, and they were brought back. He had their hands and feet cut off, their eyes branded with hot iron, and he did not cauterize their wounds, leaving them until they died. Then Allah revealed, "The penalty for those who wage war against Allah and His Messenger" [Maidah 5:33], the verse.
أخبرني عمرو بن عثمان بن سعيد بن كثير بن دينار عن الوليد عن الأوزاعي عن يحيى عن أبي قلابة
أن نفرا من عكل قدموا على النبي ﷺ فاجتووا المدينة فأمرهم النبي ﷺ أن يأتوا إبل الصدقة فيشربوا من أبوالها وألبانها ففعلوا فقتلوا راعيها واستاقوها فبعث النبي ﷺ في طلبهم قال فأتي بهم فقطع أيديهم وأرجلهم وسمر أعينهم ولم يحسمهم وتركهم حتى ماتوا فأنزل الله عز وجل {إنما جزاء الذين يحاربون الله ورسوله} الآية