Hamas officials said any man who continues to cut women 's hair will be arrested and tried in court .