In countries where Islam is the state religion, you need to be very careful.
Best advise and should always be followed to avoid making mistakes that you'll regret after.
Before traveling to such countries, it is advisable to carefully study local laws and customs. Violation of laws and traditions in these countries can be very severely punished. I would not recommend gambling in Dubai to anyone.
It's your obligation to do this and never to disregard important information, other countries have different rulings you need to make sure that you fully understand everything or most it when travelling.
Sometimes tourists in Muslim countries are made various indulgences in the field of compliance with local laws and customs. This is not the case in the situation under consideration.
Muslim countries are intact to their rules, no excuses if you failed to follow executions will take place.
For some offenses, tourists in southern countries can be sentenced to imprisonment, not just a heavy fine.
Most of the time, imprisonment are always there for those who break the laws.