The legal age of consent for sexual activity in Dubai (and the UAE as a whole) is 18 years old.
This applies to consensual sex regardless of marital status, following legal reforms that decriminalized premarital sex for adults.
Engaging in sexual activity with anyone under 18 is punishable under UAE law.