Nobita Nobi and Doraemon experience the tale of Sinbad the Sailor of the Arabian Nights fame firsthand using a storybook gadget, but Nobita becomes bored by just watching it from afar. He tries to invite Shizuka Minamoto to enter the storybooks of other tales and accidentally brings Takeshi “Gian” Goda and Suneo Honekawa along. Gian and Suneo mess up the storybooks to create a “fresh” tale, which causes Nobita and Shizuka to experience a mishmash of various tales that Shizuka dislikes. Attempting to leave, she is knocked out by Sinbad’s magic carpet and falls into the desert.
The next day, Doraemon realizes that Shizuka has gone missing and stages a rescue mission by going to 8th century Baghdad, during the reign of caliph Harun al-Rashid, after receiving a confirmation from the future that the world of the Arabian Nights does indeed coincide with the 8th century Abbasid Caliphate. Posing as foreign traders and servants, Nobita, Doraemon, Gian, and Suneo are rescued from Cassim and his bandits by the caliph himself, who gives a permit that allows them to travel from the port of Basra. Initially, the four are accompanied by Mikujin, a guide genie, but the latter goes upset when they insult him due to his incompetency and leaves. After purchasing a ship, however, the group are double-crossed by the trader, who reveals himself to be Cassim, and are thrown overboard.