When the time appointed by the Sherif drew near, the ape said to me, "There is a thing I would fain have thee do for me; and after, thou shalt have of me what thou wilt." "What is that?" asked I. Quoth he, "At the upper end of the bridechamber stands a cabinet, on whose door is a padlock of brass and the keys under it. Take the keys and open the cabinet, in which thou wilt find a coffer of iron, with four talismanic flags at its angles. In its midst is a brass basin full of money, wherein is tied a white cock with a cleft comb; and on one side of the coffer are eleven serpents and on the other a knife. Take the knife and kill the cock; cut away the flags and overturn the chest; then go back to the bride and do away her maidenhead. This is what I have to ask of thee." "I hear and obey," answered I and betook myself to the Sherif's house.

As soon as I entered the bridechamber, I looked for the cabinet and found it even as the ape had described it. Then I went in to the bride and marvelled at her beauty and grace and symmetry, for indeed they were such as no tongue can set forth. So I rejoiced in her with an exceeding joy; and in the middle of the night, when she slept, I rose and taking the keys, opened the cabinet. Then I took the knife and killed the cock and threw down the flags and overturned the coffer, whereupon the girl awoke and seeing the closet open and the cock slain, exclaimed, "There is no power and no virtue but in God the Most High, the Supreme! The Marid hath gotten me!" Hardly had she made an end of speaking, when the Marid came down upon the house and seizing the bride, flew away with her; whereupon there arose a great clamour and in came the Sherif, buffeting his face. "O Abou Mohammed," said he, "what is this thou hast done? Is it thus thou requitest us? I made the talisman in the cabinet in my fear for my daughter from this accursed one; for these six years hath he sought to steal away the girl, but could not. But now there is no more abiding for thee with us; so go thy ways."

So I went out and returned to my own house, where I made search for the ape, but could find no trace of him; whereby I knew that he was the Marid, who had taken my wife and had tricked me into destroying the talisman that hindered him from taking her, and repented, rending my clothes and buffeting my face; and there was no land but was straitened upon me. So I made for the desert, knowing not whither I should go, and wandered on, absorbed in melancholy thought, till night overtook me. Presently, I saw two serpents fighting, a white one and a tawny. So I took up a stone and throwing it at the tawny serpent, which was the aggressor, killed it; whereupon the white serpent made off, but returned after awhile accompanied by ten others of the same colour, which went up to the dead serpent and tore it in pieces, till but the head was left. Then they went their ways and I fell prostrate for weariness on the ground where I stood; but, as I lay, pondering my case, I heard a voice repeat the following verses, though I saw no one:

Let destiny with slackened rein its course appointed fare And lie
thou down by night to sleep with heart devoid of care.
For, twixt the closing of the eyes and th' opening thereof, God
hath it in His power to change a case from foul to fair.

When I heard this, great concern got hold of me and I was beyond measure troubled; and I heard a voice from behind me repeat these verses also:

Muslim, whose guide's the Koran and his due, Rejoice, for succour
cometh thee unto.
Let not the wiles of Satan make thee rue, For we're a folk whose
creed's the One, the True.

Then said I, "I conjure thee by Him whom thou worshippest, let me know who thou art!" Thereupon the unseen speaker appeared to me, in the likeness of a man, and said, "Fear not; for the report of thy good deed hath reached us, and we are a people of the true-believing Jinn. So, if thou lack aught, let us know it, that we may have the pleasure of fulfilling thy need." "Indeed," answered I, "I am in sore need, for there hath befallen me a grievous calamity, whose like never yet befell man." Quoth he, "Surely, thou art Abou Mohammed the Lazy?" And I answered, "Yes." "O Abou Mohammed," rejoined the genie, "I am the brother of the white serpent, whose enemy thou slewest. We are four brothers, by one father and mother, and we are all indebted to thee for thy kindness. Know that he who played this trick on thee, in the likeness of an ape, is a Marid of the Marids of the Jinn; and had he not used this artifice, he had never been able to take the girl; for he hath loved her and had a mind to take her this long while, but could not win at her, being hindered of the talisman; and had it remained as it was, he could never have done so. However, fret not thyself for that; we will bring thee to her and kill the Marid; for thy kindness is not lost upon us."

Then he cried out with a terrible voice, and behold, there appeared a company of Jinn, of whom he enquired concerning the ape; and one of them said, "I know his abiding-place; it is in the City of Brass, upon which the sun riseth not." Then said the first genie to me, "O Abou Mohammed, take one of these our slaves, and he will carry thee on his back and teach thee how thou shalt get back the girl: but know that he is a Marid and beware lest thou utter the name of God, whilst he is carrying thee; or he will flee from thee, and thou wilt fall and be destroyed." "I hear and obey," answered I and chose out one of the slaves, who bent down and said to me, "Mount." So I mounted on his back, and he flew up with me into the air, till I lost sight of the earth and saw the stars as they were fixed mountains and heard the angels glorifying God in heaven, what while the Marid held me in converse, diverting me and hindering me from pronouncing the name of God. But, as we flew, behold, one clad in green raiment, with streaming tresses and radiant face, holding in his hand a javelin whence issued sparks of fire, accosted me, saying, "O Abou Mohammed, say, 'There is no god but God and Mohammed is His apostle;' or I will smite thee with this javelin."

Now I was already sick at heart of my [forced] abstention from calling on the name of God; so I said, "There is no god but God and Mohammed is His apostle." Whereupon the shining one smote the Marid with his javelin and he melted away and became ashes; whilst I was precipitated from his back and fell headlong toward the earth, till I dropped into the midst of a surging sea, swollen with clashing billows. Hard by where I fell was a ship and five sailors therein, who, seeing me, made for me and took me up into the boat. They began to speak to me in some tongue I knew not; but I signed to them that I understood not their speech. So they fared on till ended day, when they cast out a net and caught a great fish and roasting it, gave me to eat; after which they sailed on, till they reached their city and carried me in to their king, who understand Arabic. So I kissed the ground before him, and he bestowed on me a dress of honour and made me one of his officers. I asked him the name of the city, and he replied, "It is called Henad and is in the land of China." Then he committed me to his Vizier, bidding him show me the city, which was formerly peopled by infidels, till God the Most High turned them into stones; and there I abode a month's space, diverting myself with viewing the place, nor saw I ever greater plenty of trees and fruits than there.

One day, as I sat on the bank of a river, there accosted me a horseman, who said to me, "Art thou not Abou Mohammed the Lazy?" "Yes," answered I; whereupon, "Fear not," said he; "for the report of thy good deed hath reached us." Quoth I, "Who art thou?" And he answered, "I am a brother of the white serpent, and thou art hard by the place where is the damsel whom thou seekest." So saying, he took off his [outer] clothes and clad me therein, saying, "Fear not; for he, that perished under thee, was one of our slaves." Then he took me up behind him and rode on with me, till we came to a desert place, when he said to me, "Alight now and walk on between yonder mountains till thou seest the City of Brass; then halt afar off and enter it not, till I return to thee and teach thee how thou shalt do." "I hear and obey," replied I and alighting, walked on till I came to the city, the walls whereof I found of brass. I went round about it, looking for a gate, but found none; and presently, the serpent's brother rejoined me and gave me a charmed sword that should hinder any from seeing me, then went his way.