Hadith 2673
Narrated Hamzah al-Aslami: The Messenger of Allah ﷺ appointed him commander over a detachment. He said: I went out along with it. He (the Prophet) said: If you find so-and-so, burn him with the fire. I then turned away, and he called me. So I returned to him, and he said: If you find so-and-so, kill him, and do not burn him, for no one punishes with fire except the Lord of the fire.
Hadith 5265
Abu Hurairah reported the prophet ﷺ as saying: A prophet got down beneath a tree and he was stung by an ant. He ordered regarding the baggage and it was removed from beneath it. He then ordered regarding it and it was burnt. Allah then revealed to him: why not (just) one ant?