Police publicly flogged a group of Muslims over allegations of participating in a violent protest against serving of demolition notice to a local mosque.