Jedes Volk hat seine Märchen. Manche von ihnen wandern von Kontinent zu Kontinent, wie die unsterblichen Märchen aus '1001 Nacht'. Einer ihrer Helden ist Ali Baba. Nahe der Stadt Guljabad treiben Räuber ihr Unwesen. Die Lage wird für die Stadt immer bedrohlicher, denn die Karawanen meiden die Gegend, so dass die Versorgungslage kritisch wird. Unterdessen befindet sich die Karawane eines Kaufmanns auf dem Weg nach Guljabad, wo ihn seine Frau und dessen Söhne, Ali Baba (Dharmendra) und Kassym, bereits erwarten. Sie rasten am Damm des Stausees, als plötzlich Räuber auftauchen und den Damm, der die Wasserversorgung der Stadt sichert, sprengen. Der Kaufmann bleibt am Leben, wird aber von den reißenden Fluten bis ins entfernte Indien fort getragen, wo er von einem Radscha aufgenommen wird. Dieser lässt eine Nachricht an die Familie des Kaufmanns senden. Ali Baba macht sich sofort auf den Weg um den Vater heimzuholen.
Every people has its fairy tales. Some of them wander from continent to continent, like the immortal fairy tales from '1001 Nights'. One of their heroes is Ali Baba. Near the city of Gulyabad, robbers are up to mischief. The situation becomes more and more threatening for the city, because the caravans avoid the area, so that the supply situation becomes critical. Meanwhile, a merchant's caravan is on its way to Guljabad, where his wife and his sons, Ali Baba (Dharmendra) and Kassym, are already waiting for him. They are resting at the dam of the reservoir when suddenly robbers appear and blow up the dam that secures the city's water supply. The merchant remains alive, but is carried away by the raging floods to distant India, where he is taken in by a rajah. He has a message sent to the businessman's family. Ali Baba immediately sets off to bring his father home.