Found this on Cake Wrecks as a non-Wreck and I was like "OMG Islamic architecture cakes exist!"
This reminds me most of Turkish styles of architecture; it could be Timurid or Ottoman. It's definitely Generic Islamic Architecture, but most of the characteristics of generic Islamic architecture, like the bizarrely anachronistic buildings in Aladdin* come from Timurid Persian buildings.
Actually, I thought it was more Timurid at first glance, but now it looks more Ottoman. Could be the Hagia Sophia (which, okay, the Turks only threw minarets on) or the Suleymaniye.
*If you actually know anything about Islamic architecture, Agrabah is an implausible mess. There is no building on earth that has both Timurid onion domes and muqarnas. And even if there was, it wouldn't have existed in the Arabian golden age that Aladdin seems to take place in...