Hamza bin Amr reported,

The Messenger of Allah ﷺ sent him along with a group of companions on a mission to a man from the tribe of Udhrah, saying, "If you are able to capture so-and-so, burn him with fire."They set out, but once they had moved out of his sight, he called them back, or sent someone after them to bring them back. Then he said, "If you are able to capture him, kill him, but do not burn him with fire, for none punishes with fire except the Lord of fire."

Azami 7910

Sahih

عن حمزة بن عمرو الأسلمي صاحب النبي ﷺ

أن رسول الله ﷺ بعثه ورهطا معه إلى رجل من عذرة فقال: إن قدرتم على فلان فأحرقوه بالنار فانطلقوا حتى إذا تواروا منه ناداهم أو أرسل في أثرهم، فردوهم، ثم قال: إن أنتم قدرتم عليه فاقتلوه، ولا تحرقوه بالنار، فإنما يعذب بالنار رب النار.

الأعظمي 7910صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Jihad
Chapter
Rulings on jihad and its etiquette
Section
Prohibition of torturing with fire
Numbering
Jami al-Kamil 7910 (2nd edition)
Azami 7910