A British tourist allegedly raped by two men in Dubai faces jail after cops accused her of sex outside marriage.

The woman, 25, claims she was attacked by two U.K. men last month.

But when she reported it, she was locked up and charged with “extramarital sex”.

ERRANT DRONE TEMPORARILY SHUTS DOWN DUBAI'S BUSY AIRPORT

She is on bail but is not allowed to leave and needs $30,000 for legal fees.

The men are understood to have flown back to Birmingham but the woman, who cannot be identified, fears a long jail term for breaching the United Arab Emirates’ Sharia laws on sex.

A family friend told The Sun: “They have taken her passport as lawyers thrash it out. She is staying with an English family but she is absolutely terrified.

DUBAI, HYPERLOOP ONE TO STUDY POTENTIAL FOR BUILDING ABU DHABI LINE

“She went to the police as the victim as one of the worst ordeals imaginable but she is being treated as the criminal.”

She was on a five-day sunshine break with a relative and was then due to head off on a round-the-world trip, having ditched her IT consultancy career for the dream adventure.

But it turned into a nightmare when two Brits she joined for a drink at the hotel they were all staying in allegedly lured her to a room.

More from The Sun

Her family claim the pair took it in turns to rape her while filming it. The men are thought to have flown home five hours later.

Couples in the Emirates are banned from sex outside marriage, while a single person is forbidden from having sex with someone who is wed.

The victim is thought to be married but it is unclear if she and her husband are separated.

Click for more from The Sun.