While participating in a game of chance, Salim wins the Ring of Sulaiman (Solomon). As he returns home full of joy and excitement, he sits with his grandfather and tells him the details of winning the ring.
The grandfather tells Salim the story of Prophet Sulaiman and how he controlled the jinn and understood the language of animals. After his death, the jinn deceived the people, claiming that Sulaiman’s kingship was due to his possession of a magic ring, and farmer Mansour fell victim to this trick.
Mansour encounters an old woman crying and decides to help her. She asks him to give her his donkey in exchange for Sulaiman’s ring, which will make his dreams come true, and Mansour agrees.
Mansour goes to jeweler Subhi to sell the ring, but Subhi shows excessive interest in it and suggests that Mansour stays with him for the night to find out the ring's price. However, it becomes clear that Subhi is planning to steal the ring as he makes a copy of it and gives the replica to Mansour.
Mansour returns home and tells his wife everything he went through, and she suggests that he use the ring to increase their income. However, Mansour becomes wealthy without the ring. Subhi sells all his possessions in the village, and while traveling to another place, he drowns in the sea with the ring.
A fish swallows the ring after it sinks into the sea. One day, a fisherman named Morjan catches the fish and gives it to his wife to cook it. The latter finds the ring inside the fish, so Morjan takes it and goes to the market to sell it and benefit from its price.
As Morjan visits the sheikh of the goldsmiths to estimate the ring's price, he tells him the ring belongs to King Sulaiman, and only the king of the country can value it. The sheikh writes a letter to the king explaining the importance of the ring, and Morjan takes the letter and heads to the king’s palace.
As Morjan gives the ring to the king of the country, the latter decides to reward him by giving him as much jewelry and money as he can carry.
Morjan takes time to rest in the palace in preparation for carrying a lot of treasure. He sleeps and wakes up at sunrise, and since the agreement with the king was to take what he wanted before sunrise, he gets expelled from the palace.
The king's minister seizes Sulaiman's ring with the help of a maid in the palace, and the king asks the sheikh of the goldsmiths to help him reach the ring after it is stolen.
The king orders that the minister be imprisoned for life for stealing the ring and appoints the sheikh of the goldsmiths as the country's minister. As the king’s son inherits the ring after his death, the goblin appears and tells him the stories of King Sulaiman, Bilqis, Queen of Sheba, and how the kingdom's people worshipped the sun.
King Sulaiman sends a message to the Queen of Sheba, telling her they should surrender to him. The Queen of Sheba decides to send various luxurious gifts to Sulaiman, peace be upon him, and if he rejects the gifts, she will know he is a prophet.
The hoopoe returns from the kingdom of Bilqis and tells Prophet Sulaiman what happened with the queen and her men after delivering the message. After the queen's gifts arrive, Sulaiman rejects them and orders their return. The viceroy vows to bring their army to the Kingdom of Bilqis as punishment for worshiping the sun, not God.
The jinn offers Sulaiman to bring him the throne of the Queen of Sheba before Sulaiman rises from his seat.
When the grandfather feels extremely tired and loses consciousness, the doorbell rings, and the courier shows up with the medicine, so Yahya asks him to help him take his grandfather to the hospital.
Salim continues the stories of King Sulaiman after the grandpa's return from the hospital. The hoopoe informs Sulaiman of the Queen of Sheba's visit to him, so he asks the men and jinn to make a massive transparent glass edifice to appear to anyone who walks on it that it is water.
Prophet Sulaiman decides to change the shape of his throne to resemble the throne of the Queen of Sheba, with simple modifications to test the queen and find out whether she will be guided to truth after seeing the modified throne or continue astray.
The goblin Kasfrit tells the king about his relative, Mared Al Jabal, whom Prophet Sulaiman tortured, so he prompted the people to disbelieve in Sulaiman's religion. He also ordered a priest to advise Samaan, the tailor, to abandon Sulaiman's religion or else his son would die.
Sedition spreads among the people after the death of Samaan's son, and the priest insinuates to them as per the orders of Mared Al Jabal. The minister decides to tell King Sulaiman about the sedition after the visit of the Queen of Sheba, who gets dazzled by the massive edifice as if she is walking on water.
The king's minister informs the king that huge floods are threatening the city with great damage, so Kasfrit tries to tempt the king to help him change the course of the rains and thus fulfill his wish, but the king refuses and decides to work on a solution to change the course of the rains.
Kasfrit continues to tell the king the story of King Sulaiman after the Queen of Sheba arrived, was astonished by the edifice, and voluntarily converted to Islam. Sulaiman knew the people were interested in magic, so he ordered his soldiers to fight the jinn for trying to pervert people's faith and religion.
King Sulaiman's army defeats the rebellious jinn, and Mared Al Jabal manages to escape them.
King Sulaiman's men arrest the magician who cooperates with the jinn and demons to corrupt people's minds. Sulaiman orders that the jinn be imprisoned in bottles and thrown into the sea.
As King Sulaiman orders the jinns who believe in God to search for Mared Al Jabal, they ask King Sulaiman for the flying carpet to help him find him quickly.
King Al-Nasir is dying on his deathbed and entrusts his eldest son, Maher, to take his throne and kingdom, and his other son, Saber, to take the ring of Sulaiman. Kasfrit's grandfather finds Mared Al Jabal and takes him to King Sulaiman to be punished.
Maher assumes power and marries Jawaher, the daughter of one of his father's enemies. Saber and his wife decide to leave the palace due to Maher's negligence in preserving the kingdom. Saber welcomes his newborn son, Sulaiman. Jawaher meets Fadila and her infant son on her way to her father's kingdom.
Jawaher kidnaps Fadila's son and agrees with the king and Maher to announce to the people of the kingdom that the child is their son Sulaiman. Meanwhile, Saber and Fadila feel sad after their son is kidnapped.
Prince Sulaiman goes hunting in the desert and is bitten by a snake. The doctor tells Queen Jawaher that Prince Saber is the only one capable of healing Sulaiman, so Jawaher orders that Saber be brought immediately.
The grandfather explains to Salim the importance of learning from the lives of animals, referring to the stories of Sulaiman with animals such as ants, hoopoes, and horses. As Saber refuses to go to the king’s palace to treat the prince, the guards force him.
The people remove King Maher and appoint Prince Sulaiman to be king of the country in his place. Saber discovers that Sulaiman is his son after seeing the ring's stamp on his back. Prince Sulaiman is healed when Saber treats him. In the end, Prince Sulaiman is reunited with his real parents.