Hazrat Amr narrates that Hasan Basri said: All the prescribed punishments can be carried out in mosques except for execution.