Hemdan wishes to marry Mashreqiya and asks his brother Keshehan to help him, and when Princess Laila learns about the matter, she gets angry and admonishes Hemdan for leaving her.
Keshehan reads the cup to Hemdan and reassures him of his marriage to Laila, whereupon he decides to work as a fortune-teller, while Musbah suggests to Gaber escaping from the boat, but the latter asks him to be patient until he implements his plan.
The governor hires Hemdan in the palace, while Sultan offers the governor a profitable deal, so the latter turns to Keshehan to read his cup and tell him his fortune, asking for his advice on closing the deal.
Hemdan turns down a job at the governor's palace until he marries his daughter. Atiq causes an injury to his father's head that makes him forget about his miserliness, becomes generous, and showers him and his mother with money.
Hemdan decides to rely on himself and raise money to marry Laila. Umm Salama visits her son Abu Atiq (Atiq's father) and is surprised by his transformation from a miserly man to a generous man. Al-Matout (a group of dwarves) warns the people about thieves entering the city, but no one listens to him.
Al-Matout resorts to the old witch to help them warn the people, and she asks them for a hair from Abu Atiq, while Hemdan keeps trying to sell swords, and everyone is surprised by Gaber's return.
As everyone is preparing for Hemdan and Laila's wedding, Umm Atiq (Atiq's mother) decides to buy a new dress to attend the ceremony, while Gaber wanders the city and impersonates a poor dervish so that no one will recognize him.
Hemdan and Laila's wedding is postponed, and the governor asks Hemdan to distribute supplies to the townspeople. Keshehan turns to Al-Matout in order for him to find a solution to save the town from thieves.
Gaber and Dahman succeed in entering the palace without anyone knowing. The thieves chase after Al-Matout, so they turn to Keshehan to protect them. The people are surprised by Gaber's assumption of the rule of the city along with Dahman.
Dahman quarrels with Gaber over the former's seizure of the rule alone, and as Keshehan tries to win Dahman's favor, he recites poetry to him in his praise, while the governor Abu Laila returns to the city in disguise.
The governor tells the people of the village that he has drawn up a plan for everything that happened. Laila reassures Hemdan that she will wait for him until he defeats Dahman. Hemdan and Keshehan go out to sight the new moon of Ramadan, but Keshehan loses his way, and they get lost in the desert.
Dahman takes his wife Luluah to the palace and gives her all the jewels and gold, then she begins to rule and treats the people harshly. As Laila decides to cook on the first day of Ramadan, Keshehan makes fun of her food. The ladies of the city decide to invite Zubaida over for food.
Keshehan decides to work in fortune-telling and casting horoscopes and turns to Al-Matout to help him, and they tell him that he was born under the sign of the owl. He begins convincing the women of their horoscopes. Dahman turns to the old witch to help him get the stars of heaven for his wife, Luluah.
As Dahman fulfills his promise and brings the stars of heaven to his wife Luluah, the city becomes dark, which causes the people not to know anything about time, and Keshehan fails in his divination, so Zubaida suggests using the Gerga'oon celebration to enter Dahman's house and get the stars back.
Saleh finds a chest of gold in front of the house of Abu Atiq, who quarrels with him and insists that he owns it because he found it in front of his house, and they take it up with Dahman, who takes the chest for himself. Atiq tells Saber that he saw a ghost in the haunted house and takes him there.
Atiq discovers that Saber has deceived him into thinking that there are ghosts in the house, while Saber tries to convince everyone that the matter is real, upon which he lights a fire in front of the governor's house and gathers the people to exorcise the spirits.
The men and women of the village are afraid of the naiad and decide not to sleep until they get rid of her, and everyone continues to live inside the café, abandoning the houses. Abu Atiq tells his wife where he hid his money, while Dahman discovers that Laila is behind the trick of the naiad.
As the women of the village prepare to celebrate Eid, they agree to open a beauty salon, which Ruqayya sets up in her house with Umm Atiq, while Hemdan remains imprisoned, and no one knows where he is.
Dahman gives his wife Zubaida's crown as a gift on the occasion of Eid. Abu Atiq turns into a monkey, so his wife tries to seek help from the old witch to restore him to his original form. Hemdan is released from prison.
The governor turns himself in to Dahman so he would leave Hemdan, so he imprisons him as well, whereupon the people gather and rebel against Dahman, and Keshehan takes over training them in camps, but the women of the village gather and wear masks to find out what Keshehan is up to with the men.
As Umm Atiq believes that Abu Atiq has married another woman, she quarrels with him. Moreover, she incites all the women of the city against their husbands, and they work in the market shops instead of the men, while Dahman's men attack Zubaida's house.
Dahman's men imprison Zubaida, while Dahman tells the governor that Gaber is behind everything that is happening. Hemdan goes with Keshehan to the house of the old witch and uses her magic crystal, traveling to the future. Gaber orders Musbah to search for Laila.
Dahman tells the governor that Gaber is the one who's planning everything. The women of the city gather to go to Anisa’s house, but the men refuse to let them go, so the women turn to the old witch to help them, and they put a mixture for the men in the food, turning them from old men to young men.
Nasib, the seller of lottery tickets, comes to the city to convince its people to buy lottery tickets and win, so each of them dreams of winning the jackpot. Using the invisibility lantern, Laila manages to enter the prison and learn the story of Dahman and his wife.
As Keshehan wins the lottery, the people turn to him to borrow money and covet him, while the girls try to get close to him, and Abu Luluah asks to work as his financial advisor, but Keshehan thinks of buying a boat to be its captain. Laila thinks there's a relationship between Hemdan and Luluah.
Dahman searches for the elixir of life that Laila stole so that he can cure Serene, while Keshehan finds three duck eggs, and when they hatch, he decides to take care of the ducklings and become a father for them.
Laila dreams that the old witch gave her a poisoned apple. Al-Matout creates a quarrel so that Ghadban can come out of Keshehan's house in order to celebrate Ghadban's birthday, while Atiq asks his father to give him a gift, and Dahman orders that the governor and Zubaida be killed.
Dahman orders that Gaber be imprisoned. Luluah spreads the news of Umm Atiq's pregnancy in the city, but Umm Atiq discovers that it is a false pregnancy. Musbah tells Hemdan and Keshehan the secret of Dahman's hideaway, whereupon they find Serene's diary.
Hemdan and Keshehan go to the river of madness to get the flute from the dwarf, and Abu Atiq decides to leave the city and go to the city of Al Zafaran, while Keshehan thinks about writing his memoirs.
Keshehan and Hemdan try to take the flute so that they can turn Dahman's men into sheep. It is revealed that Gaber saved the governor and Zubaida and that the order to have them killed was not carried out. The wedding of Laila and Hemdan takes place after Serene and Dahman left the city.