David and Solomon endowed with knowledge.

Solomon taught the speech of birds.

His army of men, jinns, and birds, marches through the valley of the ant.

One ant bids the rest retire to their holes lest Solomon and his hosts crush them.

Solomon smiles and answers her.

He reviews the birds and misses the hoopoe, who, returning, brings news of the magnificence of the Queen of Sheba.

Solomon sends him back with a letter to the Queen.

A demon brings him her throne.

She comes to Solomon, recognises her throne; marvels at the palace with the glass floor, which she mistakes for water.

Becomes a Muslim.