Based on the story of the same name in 1001 Nights, this film reinforces the comedy side of the legendary story. The honest and optimistic Alibaba (Fernandel) is the servant of Lord Cassimo, who was ordered to buy back dancer Morkira (Samia Gamal) at the fair this day. When Cassimo wanted to do something wrong to the dancers, Alibaba schemed to rescue Molkira. on the way to buy pets for Morkila, the 40 thieves robbed the camel team, Alibaba hid in the rattan cage, infiltrated the thief's treasure cave and wrote down the formula for opening the door. With countless gold, silver and jewelry in the cave, Alibaba was transformed into Master Ali and married Morkira. The forty leaders who heard the news came to the door to test it, while the thieves hiding in the wine cellar were eager to take back the treasure at the banquet. The pious Alibaba believes that Allah entrusted this wealth to him with unique motives.