The Islamic State terror group has imposed a new law in their stronghold of Raqqa that prohibits young men from wearing skinny jeans, smoking cigarettes and jamming music on cellphones.

Informants living in the Syrian city tell the anti-ISIS campaign group Raqqa Is Being Slaughtered Silently that militants have been throwing civilians behind bars for 10 days at a time if they refuse to comply with the new rules.

While imprisoned, violators will be forced to take an “Islamic course” — and once their sentence ends, they are required to take an exam assessing what they learned.

Those who pass the test are released immediately. Anyone who fails must pay a fine and stay imprisoned until they pass.

Raqqa Is Being Slaughtered Silently reports that the new penalties have been implemented over the past few days and also include anyone who is late for prayer in the city’s local mosque.