Hazrat Zubyan bin Sabeeh narrates that Hazrat Ibn Masood said: Hudood (prescribed punishments) will not be carried out in mosques.