Sunan Abi Dawud 4490
سنن أبي داود#4490Hasanحَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا صَدَقَةُ، - يَعْنِي ابْنَ خَالِدٍ - حَدَّثَنَا الشُّعَيْثِيُّ، عَنْ زُفَرَ بْنِ وَثِيمَةَ، عَنْ حَكِيمِ بْنِ حِزَامٍ، أَنَّهُ قَالَ نَهَى رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يُسْتَقَادَ فِي الْمَسْجِدِ وَأَنْ تُنْشَدَ فِيهِ الأَشْعَارُ وَأَنْ تُقَامَ فِيهِ الْحُدُودُ .
Narrated Hakim ibn Hizam: The Messenger of Allah (ﷺ) forbade to take retaliation in the mosque, to recite verses in it and to inflict the prescribed punishments in it
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
In-book reference: 40:140