Forty thieves steal valuables from people and hide them in a cave.The door of the cave has a code word and Alibaba gets to know about it.What happens afterwards forms the rest of the story.