When the judge had drawn up the contract in all the requisite forms, the sultan asked Aladdin if he would stay in the palace, and solemnise the ceremonies of marriage that day; to which he answered: "Sir, though great is my impatience to enjoy your majesty's goodness, yet I beg of you to give me leave to defer it till I have built a palace fit to receive the princess; therefore I petition you to grant me a convenient spot of ground near your abode, that I may the more frequently pay my respects, and I will take care to have it finished with all diligence." "Son," said the sultan, "take what ground you think proper, there is space enough on every quarter round my palace; but consider, I cannot see you too soon united with my daughter, which alone is wanting to complete my happiness." After these words he embraced Aladdin again, who took his leave with as much politeness as if he had been bred up and had always lived at court.

Aladdin returned home in the order he had come, amidst the acclamations of the people, who wished him all happiness and prosperity. As soon as he dismounted, he retired to his own chamber, took the lamp, and called the genie as before, who in the usual manner made him a tender of his service. "Genie," said Aladdin, "I have every reason to commend your exactness in executing hitherto punctually whatever I have demanded; but now, if you have any regard for the lamp, your protector, you must shew, if possible, more zeal and diligence than ever. I would have you build me, as soon as you can, a palace opposite, but at a proper distance from, the sultan's, fit to receive my spouse, the Princess Badroulboudour. I leave the choice of the materials to you, that is to say, porphyry, jasper, agate, lapis lazuli, or the finest marble of various colours, and also the architecture of the building. But I expect that on the terraced roof of this palace you will build me a large hall crowned with a dome, and having four equal fronts; and that instead of layers of bricks, the walls be formed of massy gold and silver, laid alternately: that each front shall contain six windows, the lattices of all of which (except one, which must be left unfinished) shall be so enriched in the most tasteful workmanship, with diamonds, rubies, and emeralds, that they shall exceed anything of the kind ever seen in the world. I would have an inner and outer court in front of the palace, and a spacious garden; but above all things, take care that there be laid in a place which you shall point out to me, a treasure of gold and silver coin. Besides, the edifice must be well provided with kitchens and offices, storehouses, and rooms to keep choice furniture in, for every season of the year. I must have stables full of the finest horses, with their equerries and grooms, and hunting equipage. There must be officers to attend the kitchens and offices, and women slaves to wait on the princess. You understand what I mean; therefore go about it, and come and tell me when all is finished."

By the time Aladdin had instructed the genie respecting the building of his palace, the sun was set. The next morning, before break of day, our bridegroom, whose love for the princess would not let him sleep, was up, when the genie presented himself and said: "Sir, your palace is finished; come and see how you like it." Aladdin had no sooner signified his consent, than the genie transported him thither in an instant, and he found it so much beyond his expectation, that he could not enough admire it. The genie led him through all the apartments, where he met with nothing but what was rich and magnificent, with officers and slaves all habited according to their rank and the services to which they were appointed. The genie then shewed him the treasury, which was opened by a treasurer, where Aladdin saw heaps of purses, of different sizes, piled up to the top of the ceiling, and disposed in most excellent order. The genie assured him of the treasurer's fidelity, and thence led him to the stables, where he shewed him some of the finest horses in the world, and the grooms busy in dressing them; from thence they went to the storehouses, which were filled with all things necessary, both for food and ornament.

When Aladdin had examined the palace from top to bottom, and particularly the hall with the four and twenty windows, and found it much beyond whatever he could have imagined, he said: "Genie, no one can be better satisfied than I am; and indeed I should be much to blame if I found any fault. There is only one thing wanting which I forgot to mention; that is, to lay from the sultan's palace to the door of the apartment designed for the princess, a carpet of fine velvet for her to walk upon." The genie immediately disappeared, and Aladdin saw what he desired executed in an instant. The genie then returned, and carried him home before the gates of the sultan's palace were opened.

When the porters, who had always been used to an open prospect, came to open the gates, they were amazed to find it obstructed, and to see a carpet of velvet spread from the grand entrance. They did not immediately look how far it extended, but when they could discern Aladdin's palace distinctly, their surprise was increased. The news of so extraordinary a wonder was presently spread through the palace. The grand vizier, who arrived soon after the gates were open, being no less amazed than others at this novelty, ran and acquainted the sultan, but endeavoured to make him believe it to be all enchantment. "Vizier," replied the sultan, "why will you have it to be enchantment? You know as well as I that it must be Aladdin's palace, which I gave him leave to build, for the reception of my daughter. After the proof we have had of his riches, can we think it strange that he should raise a palace in so short a time? He wished to surprise us, and let us see what wonders are to be done with money in only one night. Confess sincerely that the enchantment you talk of proceeds from a little envy on account of your son's disappointment."

When Aladdin had been conveyed home, and had dismissed the genie, he found his mother up, and dressing herself in one of those suits which had been brought her. By the time the sultan rose from the council, Aladdin had prepared his mother to go to the palace with her slaves, and desired her, if she saw the sultan, to tell him she should do herself the honour toward evening to attend the princess to her palace. Accordingly she went; but though she and the women slaves who followed her were all dressed like sultanesses, yet the crowd was not near so great as the preceding day, because they were all veiled, and each had on an upper garment agreeable to the richness and magnificence of their habits. Aladdin, taking care not to forget his wonderful lamp, mounted his horse, left his paternal home forever, and went to the palace in the same pomp as the day before.

As soon as the porters of the sultan's palace saw Aladdin's mother, they went and informed the sultan, who immediately ordered the bands of trumpets, cymbals, drums, fifes, and hautboys, placed in different parts of the palace, to play, so that the air resounded with concerts which inspired the whole city with joy: the merchants began to adorn their shops and houses with fine carpets and silks, and to prepare illuminations against night. The artisans of every description left their work, and the populace repaired to the great space between the royal palace and that of Aladdin; which last drew all their attention, not only because it was new to them, but because there was no comparison between the two buildings. But their amazement was to comprehend by what unheard-of miracle so magnificent a palace could have been so soon erected, it being apparent to all that there were no prepared materials, or any foundations laid the day before.

Aladdin's mother was received in the palace with honour, and introduced into the Princess Badroulboudour's apartment by the chief of the eunuchs. As soon as the princess saw her, she rose, saluted, and desired her to sit down on a sofa; and while her women finished dressing, and adorning her with the jewels which Aladdin had presented to her, a collation was served up. At the same time the sultan, who wished to be as much with his daughter as possible before he parted with her, came in and paid the old lady great respect. Aladdin's mother had talked to the sultan in public, but he had never seen her with her veil off, as she was then; and though she was somewhat advanced in years, she had the remains of a good face, which showed what she had been in her youth. The sultan, who had always seen her dressed very meanly, not to say poorly, was surprised to find her as richly and magnificently attired as the princess, his daughter. This made him think Aladdin equally prudent and wise in whatever he undertook.

When it was night, the princess left her own apartment for Aladdin's palace, with his mother on her left hand carried in a superb litter, followed by a hundred women slaves, dressed with surprising magnificence. All the bands of music, which had played from the time Aladdin's mother arrived, being joined together, led the procession, followed by a hundred state ushers, and the like number of black eunuchs, in two files, with their officers at their head. Four hundred of the sultan's young pages carried flambeaux on each side, which, together with the illuminations of the sultan's and Aladdin's palaces, made it as light as day.

At length the princess arrived at the new palace and Aladdin ran with all imaginable joy to receive her at the grand entrance. His mother had taken care to point him out to the princess, in the midst of the officers who surrounded him, and she was charmed with his person. "Adorable princess," said Aladdin, accosting her, and saluting her respectfully, as soon as she had entered her apartment, "if I have the misfortune to have displeased you by my boldness in aspiring to the possession of so lovely a creature, I must tell you, that you ought to blame your bright eyes and charms, not me." "Prince," answered the princess, "I am obedient to the will of my father; and it is enough for me to have seen you, to tell you that I obey without reluctance."