The singer apologised before she was arrested amid criticism by MPs to anyone who had interpreted the video ‘in an inappropriate way’.

She wrote on her now-deleted Facebook page: ‘I didn’t imagine all this would happen and that I would be subjected to such a strong attack from everyone.’

Marwan Younis, an influential blogger and presenter, started a campaign on Facebook to get his followers to report Shyma’s page to the social network for its sexually explicit content, which led to it being shut down.

The singer, who is a former Arab Idol contestant from Tanta, northern Egypt, reportedly appeared in court with a niqab covering her face and was seen reading the Quran while waiting for the sentence to be issued.

She’s the latest artist to face prosecution in the country. Shakira and Bardis, two bellydancers, were sentenced to six months in prison in 2015 for inciting debauchery and immorality in their music videos.