By this Ali Baba perceived that through his wife 's folly Cassim and his wife knew their secret , so he confessed all and offered Cassim a share . `` That I expect , '' said Cassim ; `` but I must know where to find the treasure , otherwise I will discover all , and you will lose all . '' Ali Baba , more out of kindness than fear , told him of the cave , and the very words to use . Cassim left Ali Baba , meaning to be beforehand with him and get the treasure for himself . He rose early next morning , and set out with ten mules loaded with great chests . He soon found the place , and the door in the rock . He said : `` Open , Sesame ! '' and the door opened and shut behind him . He could have feasted his eyes all day on the treasures , but he now hastened to gather together as much of it as possible ; but when he was ready to go he could not remember what to say for thinking of his great riches . Instead of `` Sesame , '' he said : `` Open , Barley ! '' and the door remained fast . He named several different sorts of grain , all but the right one , and the door still stuck fast . He was so frightened at the danger he was in that he had as much forgotten the word as if he had never heard it . About noon the robbers returned to their cave , and saw Cassim 's mules roving about with great chests on their backs . This gave them the alarm ; they drew their sabres , and went to the door , which opened on their Captain 's saying : `` Open , Sesame ! '' Cassim , who had heard the trampling of their horses ' feet , resolved to sell his life dearly , so when the door opened he leaped out and threw the Captain down . In vain , however , for the robbers with their sabres soon killed him . On entering the cave they saw all the bags laid ready , and could not imagine how anyone had got in without knowing their secret . They cut Cassim 's body into four quarters , and nailed them up inside the cave , in order to frighten anyone who should venture in , and went away in search of more treasure . As night drew on Cassim 's wife grew very uneasy , and ran to her brother-in-law , and told him where her husband had gone .
Ali Baba did his best to comfort her , and set out XXXXX the forest in search of Cassim .
In as at behind inside into of on to with