At last he clasped his hands in prayer, and in so doing rubbed the ring, which the magician had forgotten to take from him. Immediately an enormous and frightful genie rose out of the earth, saying: “What wouldst thou with me? I am the Slave of the Ring, and will obey thee in all things.” Aladdin fearlessly replied: “Deliver me from this place!” whereupon the earth opened, and he found himself outside.
Source: tatoeba (7077130)