Mosques are not places where poetry is recited, where prescribed punishments are carried out, or where retaliation is exacted.Ubayy said that he, meaning Hajjaj, did not raise it to the Prophet.
حدثنا حجاج حدثنا الشعيثي عن زفر بن وثيمة
المساجد لا ينشد فيها الأشعار ولا تقام فيها الحدود ولا يستقاد فيها قال أبي لم يرفعه يعني حجاجا