To start the quest, speak with Chancellor Hassan and ask him if he needs any help. He will then tell you to go see Osman, located just outside the palace. He will tell you that Prince Ali has been kidnapped by Lady Keli. You should now go to the east side of Draynor Village and find Leela who can be found wandering in and around the wheat field. Speak with her to get details on the items you need to collect to complete your mission.
If you do not have a rope, talk to Ned in Draynor Village, and ask him to sell you some for 15 coins. He can also make you some if you have four balls of wool.
Talk to Ned again, this time about a wig. He'll make you a wig if you give him three balls of wool.
Take the imprint along with the bronze bar to Osman to get the bronze key. At this point, you can speak with the Chancellor to get 80 coins from the final reward for your service thus far.
Return to Leela to pick up your duplicate key.
Talk to Leela again, and she will tell you that Joe's weakness is beer. You will need three. Talk to Joe, select the following dialogue option:
I have some beer here,
This will give him all three beers. Once you have all of the escape equipment and you have immobilized him, use a rope on Lady Keli to tie her up. Use the key to unlock the cell and rescue the prince. At this point you may now pass through the gate to Al Kharid free of charge.
Now return to Hassan at the Al Kharid palace for your reward.