Hammam b. Munabbih reported: This is what Abu Huraira reported to us from the Messenger of Allah ﷺ and (in this connection) he narrated some ahadith, one of them is: The Messenger of Allah ﷺ said: I intend that I should command my young men to gather bundles fuel for me, and then order a person to lead people in prayer, and then burn the houses with their inmates (who have not joined the congregation).
The main values taught through this hadith are obedience, responsibility, accountability, commitment and dedication towards fulfilling one's religious obligations as a Muslim believer. It also teaches us about how serious we should take our religious duties so that we can stay away from any kind of punishment or retribution due to negligence or carelessness when it comes to fulfilling our obligations towards Allah Almighty and His religion Islam.