Each of the territories of the United Arab Emirates has its own entry requirements. In the case of Dubai, citizens of Spain do not need a visa if their visit is less than 30 days. You have all the information in: «Requirements for traveling in Asia: vaccinations, advice and documentation«.

You have all the information in: "Requirements for traveling in Asia: vaccinations, advice and documentation".