The youth looked up and saw a gang-chain and asked, "What is that?"
The Sultan said, "That is what we put round their necks, and the end is fastened to the wall."
So the youth said, "Oh, put it on my neck, that I may see what it is like."
The Sultan replied, "No, you are a woman, but I will put it on my neck to show you;" so he put it on.
Then the youth took the key of the leg-irons and of the gang-chain, and looked up and saw a whip and said, "What is that?"
"That," said the Sultan, "is a whip with which we whip our prisoners if they are bad."
So the youth picked up the whip and began beating the Sultan. After the first few strokes the Sultan said, "Stop, that is enough fun-making."
But the youth went on and beat him soundly, and then went out, leaving the Sultan in chains and chained to the wall, and he also locked the door of the prison and took the key and went home. Next day the Sultan was found to be in the prison, and they could not get in to let him out or free him.
So a crier was sent round the town to cry, "Any one who can deliver the Sultan from prison will be given a free pardon for any offence he has committed."
So, when the cries came to that youth's house, he said, "Oho, I want that as a certificate in writing before I will say what I know."