It is narrated from Sayyiduna Hakeem bin Hizam that the Messenger of Allah, peace and blessings be upon him, said: Poetry should not be recited in mosques, punishments should not be carried out in them, nor should retaliation (qisas) be taken in them.