Sunan Abi Da’ud – Hadith No : 4490

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.

Hadith In Arabic Text :

حدثنا هشام بن عمار، حدثنا صدقة، – يعني ابن خالد – حدثنا الشعيثي، عن زفر بن وثيمة، عن حكيم بن حزام، أنه قال نهى رسول الله صلى الله عليه وسلم أن يستقاد في المسجد وأن تنشد فيه الأشعار وأن تقام فيه الحدود ‏.‏

Chapter : Prescribed Punishments (Kitab Al-Hudud) – كتاب الحدود