[Machine] The Messenger of Allah, ﷺ , said: "The punishments (prescribed by Islamic law) should not be carried out in the mosques, and parents should not be punished for the actions of their children." Isma'il ibn Muslim al-Makki said: "This hadith has weakness, and it has been narrated from 'Ubaydullah ibn al-Hasan al-Anbari from 'Amr, and Allah knows best."
قَالَ رَسُولُ اللهِ ﷺ لَا تُقَامُ الْحُدُودُ فِي الْمَسَاجِدِ وَلَا يُقَادُ الْوَالِدُ بِالْوَلَدِ إِسْمَاعِيلُ بْنُ مُسْلِمٍ الْمَكِّيُّ هَذَا فِيهِ ضَعْفٌ وَقَدْ رَوَى عَنْ عُبَيْدِ اللهِ بْنِ الْحَسَنِ الْعَنْبَرِيِّ عَنْ عَمْرٍو وَاللهُ أَعْلَمُ