What magic phrase allowed Ali Baba to enter the cave of the forty thieves?
The magic phrase that allowed Ali Baba to enter the cave of the 40 thieves was:
"Khulja simsim" in Hindi.
Here is some more info:
From "Ali Baba and the Forty Thieves" Sir Richard Francis Burton was a 19th century English explorer, author, and translator. In the late 1880s Burton translated and published a multivolume collection of Indian and Middle Eastern folktales already popularly known as The Arabian Nights. In the following excerpt, Burton tells the tale of Ali Baba, a poor man who stumbles upon a thieves' cache of goods and money, hidden in a cave. To gain entrance to the cave, Ali Baba must utter a magic phrase. Although Burton translates the famous command as "Open, O Simsim," many know it better as "Open, sesame."