Arabian Nights Days

Arabia: land of Ali-Baba, genies, sheiks, Sultans, evil Grand Viziers (as well as some good ones), dashing thieves and harem girls. When Europe was having its Dark Age, the Islamic world was having its Golden Age, both preserving and enhancing the knowledge of civilization. Here, Baghdad is still a wondrous, glittering city full of magic and mystery, instead of a grungy, sprawling Third World metropolis with soldiers in Humvees battling guys in dynamite vests through the cobblestone streets.

Mostly based on the Muslim world (which stretched from Spain to India and Central Asia) during the Middle Ages. Historically, as noted above, this time period is analogous to the Dark Age Europe of the 7th to the 11th century but this is rarely referenced - and sometimes outright contradicted.

Sometimes this trope is rather based on the 16-19 centuries Ottoman Empire. This type of Arabian Nights Days tends to make less emphasis on magic and more on harem girls.

This trope can be a form of Cultural Blending, as the "Islamic world" was home to various different cultures and languages, such as Arabic, Persian, Turkish, and many others.

A popular trope for this setting is Genie in a Bottle, traditionally a Literal Genie. Flying Carpets are popular too. The look and feel of a Bazaar of the Bizarre often draws heavily on this period as well. Expect at least one reference to the "sands of time."

In fiction set in modern times, the same region inevitably becomes Qurac.

Art

 * All these harem pictures of Ingres.
 * Any of the French Orientalist artists, in fact. Jean-Léon Gérôme, Eugène Delacroix... it was quite a popular subject amongst Neoclassical painters apparently.

Comic Books

 * Fables portrays the free European fables as being stuck in the modern world after the adversary took over. When they ally with the Arabian Fables they expect them to be living in hiding in the middle east. Instead it turns out they are still living in their own traditional lands, complete with flying carpets, since the Adversary has only recently started targeting them and they are actually a cohesive force that can fight him unlike the Europeans (when they were conquered they had a very medieval mindset with each own fief and principality on its own).
 * One story in Sandman features this version of Bagdad, whose emperor finds it so wonderful that he becomes utterly obsessed with the worry that it might end. He calls on Morpheus to preserve it forever,.
 * Iznogoud
 * Asterix and the Magic Carpet

Film

 * The Thief of Bagdad
 * The Sultan's court in Terry Gilliam's The Adventures of Baron Munchhausen.
 * The last three examples are actually set in the 18-19 century Ottoman Empire. Though it was usually depicted in Western media using this trope, anyway.
 * Pretty much any film about Sinbad the Sailor will at least start out here, even though it'll wind up on some uncharted island full of Harryhausen critters.

Literature

 * One Thousand and One Nights a.k.a. The Arabian Nights. The single most important Trope Maker.
 * The Golden Dream of Carlo Chuchio
 * Klatch on the Discworld is Arabian Nights Days in Sourcery, the first book Klatchians play a major part in, but by the time Jingo rolls around it's more of a late-19th/early-20th-century Lawrence of Arabia style Middle East, with a few Arabian Nights elements left in.
 * Edward Said devoted his Orientalism to debunking this sort of myths.
 * Or, more precisely, pointing out how the pervasiveness of this sort of myth prevented Europeans from having any sort of perspective on what the Middle East was, and is, actually like.
 * Castle in the Air, which bears the same relationship to the Arabian Nights as its predecessor Howl's Moving Castle does to Western fairy tales.
 * William Beckford's Vathek mixes this with Gothic Horror.
 * Andrei Belyanin's The Thief of Baghdad novel has a modern-day Russian man end up in this trope thanks to a genie and Omar Khayyam. Suffering from magic-related amnesia, the protagonist learns the trade of thievery from Omar and embarks on the task of ending the rule of the evil Emir of Baghdad. On the way, he encounters Nasreddin, the Emir's guards, the Emir's entire harem (who are quite happy to see him), and... aliens (because, why not?). The framing device is the protagonist telling this story to the author of the book, making his safe return a foregone conclusion. The sequel, The Shamer of Shaitan has the protagonist being sent back to Arabia (with his memories intact, this time) to take on Shaitan himself.
 * The third novel in Belyanin's Jack the Mad King trilogy is called Jack in the East and has the titular protagonist travel to this world's equivalent of Arabia to rescue the sultan's daughter.

Manga

 * Magi Labyrinth of Magic draws inspiration from Arabian Nights, but with more shonen and fantasy elements.

MMORPGs

 * Guild Wars Nightfall's Vabbi

Tabletop Games

 * The Arabian Nights expansion of Magic: The Gathering (actually inspired by the above Sandman example)
 * The Al-Qadim campaign setting for Dungeons & Dragons.
 * Araby in Warhammer Fantasy Battle fits most of works.

Theatre

 * Kismet.
 * Mozart's Die Entführung aus dem Serail (The Abduction from the Seraglio).

Video Games

 * Prince of Persia
 * Sonicand the Secret Rings (very loosely)
 * The Treasures of Aht Urhgan expansion of Final Fantasy XI, complete with an evil Grand Vizier who heads the mysterious, veiled Immortals.
 * Quest for Glory II
 * In Monster World IV, the whole world is a fantasy version of this.
 * Doki Doki Panic was largely based around this trope. As a result some elements, such as the flying carpets, are also in Super Mario Bros. 2.
 * Mario Kart 7 has a track based on the above called Shy Guy Bazaar, complete with Super Mario Bros. 2 references. It fits this trope perfectly.
 * Sequin Land, the setting of the Shantae games.
 * Arabian Night from Wario Land 4.
 * The Gerudo from The Legend of Zelda series seem to be very loosely based off of this trope, where the harem girls are thieves. Also, their king, Ganondorf happens to be the main antagonist in the series, and he happens to be skilled with sorcery.
 * The Alin from Rise of Legends are based on this trope. Their floating cities are located in a vast desert, and their lands are full of magical creatures made up of fire and glass. There are, of course, genies. Interestingly, the Alin are on the verge of being overrun by the so-called Dark Alin, creatures born of magic fueled by . The intro film shows Alin forces besieging a Vinci city in a clear case of Magic Versus Technology. This never happens in the game, however. The other Fantasy Counterpart Cultures in the game are the Vinci (Renaissance-era Italy fueled by Leonardo's Steampunk and Clock Punk inventions) and the Cuotl (a Mayincatec culture using technology given by their Sufficiently Advanced Alien masters).

Western Animation

 * Disney's Aladdin, though not some other versions of Aladdin. The original story is nominally set in China, but China in Arabic writings of the time refers to anything east of Persia, which means the original Aladdin is most likely set in Northern India or Pakistan or Central Asia, as it's nothing like the actual China of the time. It was probably written by someone, and then passed down by many, who had never actually been to any of the above places.
 * The Thief and the Cobbler
 * Scooby Doo's Arabian Nights

Real Life

 * As a matter of fact, whenever in any Western story the word "sultan" comes up and the word "oil" doesn't, you are bound to meet with this trope.