Have you talked to a travel agent or gone to the UAE embassy, I dont think its that big of a problem to get a transit visa, which i believe has a validity of 14 days, lemme find some more information and get back to you :k:
Some hotels do assist you with the visa process, but they charge extra for that.
I’m assuming that you’ll be staying in Dubai in transit, ie on the way from the UK to Pakistan or vice versa. If you’re traveling on Emirates, contact your local Emirates office and they should be able to provide a transit visa. Otherwise you can use Marhaba City-Stop: