The Magician was overjoyed. He saw at once that it was the very lamp he wanted, and giving the Princess the best of the new ones in exchange, he hurried away with his treasure. As soon as he found himself alone, he summoned the slave of the lamp, and told him to carry himself, the Palace, and the Princess Badroulboudour to the farthest corner of Africa. This order the genie at once obeyed.

When Aladdin returned from hunting and found that his wife and his Palace had vanished, he was overcome with anguish, guessing that his enemy, the Magician, had by some means got possession of the lamp. The Sultan, whose grief and anger at the loss of his daughter were terrible, ordered him to leave the Court at once, and told him that unless he returned in forty days with the Princess safe and well, he would have him beheaded.

Aladdin went out from the Sultan's presence, not knowing what to do or where to turn. But after he had wandered about for some time in despair, he remembered the ring which he still wore on his finger. He rubbed it, and in a moment the genie stood before him. But when Aladdin commanded him to bring back the Palace and the Princess, the genie answered—

"What you command is not in my power. You must ask the slave of the lamp. I am only the slave of the ring."

"Then," said Aladdin, "if you cannot bring my Palace to me, I command you to take me to my Palace." No sooner were the words out of his mouth than he found himself standing in Africa, close to the missing Palace.

The Princess Badroulboudour, who, since the moment when the Magician had had her in his power, had not ceased to weep and lament for her foolishness in exchanging the lamp, happened to be looking out of the window; and when she saw Aladdin she nearly fainted with joy, and sent a slave to bring him secretly into the Palace.

Then she and Aladdin made a plan to get the better of the Magician and to recover the lost lamp. Aladdin summoned the genie of the ring, who procured for him a very powerful sleeping-powder, which he gave to the Princess. Then Aladdin hid himself behind some curtains in the room, and the Princess sent a message to the Magician asking him to take supper with her.

The Magician was delighted at the Princess's invitation, and accepted it joyfully, never dreaming that Aladdin had found his way to Africa.

As they were eating and drinking together, the Princess put the sleeping-powder into the Magician's cup of wine—and no sooner had he tasted it than he fell down in a deep sleep as if dead.