Hadithcore
Mishkat al-Masabih, 1073

Abu Huraira reported the Prophet (ﷺ) as saying, “Were it not for the women and children who are in the houses I would make the evening prayer congregational and command my young men to burn what is in the houses with fire.” Ahmad transmitted it.

وَعَنْ أَبِي هُرَيْرَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «لَوْلَا مَا فِي الْبُيُوتِ مِنَ النِّسَاءِ وَالذُّرِّيَّةِ أَقَمْتُ صَلَاةَ الْعِشَاءِ وَأَمَرْتُ فِتْيَانِي يُحْرِقُونَ مَا فِي الْبُيُوتِ بِالنَّارِ» . رَوَاهُ أَحْمد

References1 variant
In-Book Reference
Book 4, Hadith 491