Upvote:4
According to UAE law only one party must have a residence visa, and both must pass a medical examination. They also state that "Non-Muslims can conclude marriage formalities at: the embassy or consulate of their country in the UAE or at a temple or a church as per their religion." Sharia marriage laws will apply if the both the bride and groom are Muslim, or if the groom is a Muslim and the bride is Christian. You should each check with your respective countries of citizenship as to how to register a marriage that occurs abroad.
More here: https://government.ae/en/information-and-services/social-affairs/marriage