According to Saheeh el Boukhari book of Al Jihad and Al Seyar, chapter La Youazeb Beazab Allah.
According to Abu Huraria, he said the prophet sent them on a mission and said of you found that person and that person burn them with fire, and on our way out the prophet repeated I gave you an order to kill that and that person, when you see them kill them.
The hadith was ambiguous so I searched for an explanation for why Mohammed would want to burn people in Fath el Bari. (Fath El bari is an acknowledged book by Islamic authorities to explain Shaeeh el Bukhari) what I found was even more ambiguous but it filtered finally to that two people hit the camel of Zianab the daughter of the prophet so she fell and became sick, so Mohammed didn’t like that and sent people on a mission to burn them!
Arabic Text.حدثنا قتيبة بن سعيد حدثنا الليث عن بكير عن سليمان بن يسار عن أبي هريرة رضي الله عنه أنه قال بعثنا رسول الله صلى الله عليه وسلم في بعث فقال إن وجدتم فلانا وفلانا فأحرقوهما بالنار ثم قال رسول الله صلى الله عليه وسلم حين أردنا الخروج إني أمرتكم أن تحرقوا فلانا وفلانا وإن النار لا يعذب بها إلا الله فإن وجدتموهما فاقتلوهما.صحيح البخاري .. كتاب الجهاد و السير .. باب لا يعذب بعذاب الله
After seeing those examples of burning I I also discovered that Imam Muslim proves the point of burning via surat el Hashar vers 5. And when we go further with el Hasher vers 5 and 6 and we read the al Tabbari interpretation of both verses. We find an open license for burning everything.