Musicians were beaten by ISIS religious police in Syria for playing an “un-Islamic” keyboard — and the brutes then destroyed the players’ instruments.

The ISIS enforcers were seen striking the men with a stick in a public square because the electric instrument was “offensive to Muslims,” the Daily Mail reported.

The musical raids were believed to have taken place in Bujaq, near Aleppo in Syria. According to a file-sharing website that posted the images, the men were punished with 90 lashes.

Another man also was similarly punished for impersonating a “hisbah” official. The Arabic term refers to the Islamic doctrine of upholding the law.

Additionally, a cigarette smuggler received 50 lashes, according to the posting, which reportedly came from Islamic State’s information office in Aleppo.

Islamic State says it has formed a so-called Caliphate in the Middle East and has been enforcing strict Sharia law in large swaths of Syria and Iraq.

Accused adulterers have been executed and thieves’ hands have been amputated in public.

Fifteen pigeon breeders in the eastern province of Diyala in Iraq were rounded up recently by ISIS fighters, who said their pastime was un-Islamic, NBC News reported. Three were executed, a security official told the network.

On Monday, it was reported that 13 boys were executed in Mosul, Iraq, for watching an Asian Cup soccer match between Iraq and Jordan.

Raqqa Is Being Slaughtered Silently, an activist group in Syria, reported that the boys were shot in public because they broke religious laws by watching the game.

Islamic State also released a video that showed two men accused of being gay being thrown to their deaths off a tower in Raqqa, Syria.