tt0079749,

Ali Baba discovers a thieves' cave password and takes jewels. His brother dies there forgetting the code. A girl seeks revenge against ruler Abu Hasan, who leads the thieves. Ali Baba defeats them and exposes Hasan's true identity.