Several women have been arrested by 'morality police' in Saudi Arabia after they were filmed wearing western-style clothes, dancing, and mixing with men at a party in the strict Muslim country.

A man who organised the party, where alcohol was allegedly consumed, has also reportedly been held by police.

Local media outlets reported that the group was arrested after a video of the party, held in the city of Jeddah on the country's west coast, was posted to YouTube.

In the footage a group of men and women can be seen chatting and dancing while Arabic music plays in the background.

One woman seen in the footage is wearing shorts, while another woman is filmed dancing with a man - in both cases falling foul of Saudi Arabia's harsh morality laws.

There are strict rules governing mixed gatherings of unrelated men and women in the conservative Muslim nation, while the sale and consumption of alcohol is strictly outlawed.

In the footage a group of men and women can be seen chatting and dancing while Arabic music plays in the background

Unlike in some other Islamic countries, the rules around gender segregation and drinking alcohol apply equally to Muslim and non-Muslim residents.

After the film went viral, the footage was passed to police who tracked down the location of the party using landmarks seen on the video.

Major-General Saeed Al-Qarni led the investigation, supervised by Jeddah police chief Brigadier-General Abdulwahab Al-Asiri, was able to identify the roof terrace where the party was held by the location of the Jeddah flagpole seen in the background.

Police were able to identify the roof terrace where the party took place, in the city of Jeddah (pictured), by studying landmarks seen in the background of the footage

The landmark is the highest flagpole in the world, and was erected in 2014, rising 170 meters from the ground.

The chief suspect, a Jordanian man who organised the gathering, was arrested while allegedly trying to flee the country.

After being detained and questioned by officers, he eventually admitted to organising the party, authorities said.

A group of women were arrested after they were filmed wearing western-style clothes, dancing, and mixing with men at a party

Three female party guests, a Lebanese woman and her friends, were also later questioned and admitted to being at the party, Almasar Online reports.

The case has now been referred to the Bureau of Investigation and Prosecution, with officials deciding whether to press charges against the group.

Authorities said that they were also working to identify any other party guests.

If found guilty, the accused face potentially harsh punishments under Sharia law, including imprisonment and flogging.