While most people turn a blind eye to live-in couples (and there are many in the city), an irate landlord or neighbor can complain and get you arrested, as live-in relationships for unmarried couples are illegal in Dubai.
Adultery and fornication are also crimes punished with death, and a person convicted of homosexuality may also face charges of adultery if they have an opposite-sex spouse while having sexual relations with a person of the same sex.
Article 354 of the Federal Penal Code states: "Whoever commits rape on a female or sodomy with a male shall be punished by death." This is a prohibition against rape, and consensual sodomy.
As foreigners in a Muslim country, following these few simple rules will ensure that you can have an active social life, have fun and find companionship without the law breathing down your neck.
Approaching the fairer sex is fine as long as you practice discretion in your attempts.
Also tell anyone who asks that the lady with you is your wife and you should be able to enjoy intimacy and have fun without the fear of getting into trouble with the law.
Emiratis are a traditional people who take great pride in their heritage and culture, and it is expected that those who visit their country will respect these traditions.
It is also illegal to live together or have sex without being married.
Although these laws are not stringently enforced in Dubai, unless someone complains to the police, it is wise to tread with caution when it comes to living together or dating in Dubai.
While walking up to a lady in a bar or nightclub and asking for her number or trying to engage her in conversation is fine, any form of harassment is likely to get you thrown out of the bar or even arrested for serious offences.