Abu Zinad reported,

When the Messenger of Allah ﷺ amputated the limbs of those who had stolen his milk-camels and seared their eyes with fire, Allah rebuked him for that, and Allah Most High revealed "The recompense of those who wage war against Allah and His Messenger" [Maidah 5:33], the entire verse.

Nasai 4047

Daif

أخبرنا أحمد بن عمرو بن السرح قال أنبأنا ابن وهب قال أخبرني الليث عن ابن عجلان

عن أبي الزناد

أن رسول الله ﷺ لما قطع الذين سرقوا لقاحه وسمل أعينهم بالنار عاتبه الله في ذلك فأنزل الله تعالى {إنما جزاء الذين يحاربون الله ورسوله} الآية كلها

النسائي 4047ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Prohibition of bloodshed
Chapter
Disagreement between Talha bin Musarrif and Muawiya bin Salih regarding Yahya bin Saeed in this hadith
Numbering
Darussalam 4047
Nasai 4047