The grandmother tells her two granddaughters the story of Jouder and his two brothers, Salem and Salim, who inherited some money from their father, but Salem and Salim’s greed exceeds everything, especially after spending all their money.
The grandmother continues Jouder's story, where Salem quarrels with his mother and thinks about selling the house in order to get the money. He agrees with his brother Salim to steal from their mother, who decides to sue them, and Jouder tries to fix the matter between them.
The grandmother continues Jouder's story, as the judge orders Salem and Salim to be taught an unforgettable lesson and flogs them for stealing from their mother. The judge advises Umm Jouder to sell the house and divide it among her children.
The judge's decision to sell the house saddens Umm Jouder. Salem and Salim agree with Abu Asfour to buy the house, but the judge rejects this and insists that Umm Jouder agree to choose who will buy the house.
Umm Jouder sells the house, Jouder tries to buy a house from Abu Asfour, and Salem and Salim steal chickens in the market, so the judge arrests them and imprisons them.
Jouder lives a simple life with his mother. He asks the judge to release his two brothers. After Salem and Salim are released from prison, they work as beggars.
Jouder is forced to search for his two brothers based on his mother’s wishes. When Salim falls ill, Salem takes him and returns to their mother. At the same time, the judge searches for them and asks Jouder to hand them over.
Jouder tries to convince his two brothers to surrender themselves to the judge, who imprisons them and orders them to be flogged.
Jouder mediates with the judge to release his two brothers, so he agrees to release their imprisonment on the condition that they leave the city. Although they receive money from their mother, they decide to steal her money before leaving.
Jouder finds a bag of gold in the market and hands it to the judge. Umm Jouder is saddened by the departure of her two sons, Salem and Salim, and the theft of her money. Jouder tells the judge that two people committed suicide at sea and left their money with him.
Jouder welcomes Abdel Samad, the Moroccan, at his home, and the latter reveals to him that he is the brother of the two people who committed suicide. He tells him the story of their father and his possession of the book of magic, and the prophecy of the High Priest.
Abdel Samad convinces Jouder to travel with him to Morocco to open the Shamandar's treasure. So Jouder bids farewell to his mother and travels, despite her refusal and fear for him.
Abdel Samad takes Jouder to his palace and begins to prepare the Jin. Jouder moves to the location of the treasure and he fights the guard to find out the hieroglyphs of the treasure. Meanwhile, Umm Jouder cries because her son traveled and left her alone.
Jouder enters the location of the treasure, and Abdul Samad warns him from the illusion of seeing his mother, but Jouder does not pay attention to his warning. Therefore he loses consciousness when he speaks to a woman who looks like his mother, and Abdul Samad tells him that he must wait another year until he reopens the treasure.
Jouder agrees to stay for a year with Abdel Samad in Morocco, and Umm Jouder complains to the judge and asks him to search for her son.
The judge rejects Umm Jouder's request to search for her son, and Salem and Salim return and ask for forgiveness from their mother and to stay with her at home.
Umm Jouder asks her two sons, Salem and Salim, to search for Jouder, but they convince her to give them money to start a project. Meanwhile, Jouder is thinking about returning home.
Salem and Salim rob a store in the market, and the judge arrests them. Jouder prepares to return to his country and asks Abdul Samad to take the servant Yaqout with him.
Umm Jouder tries to pay the judge a sum to pardon her two sons, Salem and Salim, but he refuses. Her two sons manage to beat the guard and escape. Abdul Samad performs his rituals to open the treasure again.
Jouder reaches the treasure and transfers it to Abdul Samad. Jouder asks him not to use the magic ball for evil. On the other hand, Salem and Salim return to their mother’s house after they were starved in the forest.
Abdel Samad agrees to let Yaqout travel with Jouder to his country. Umm Jouder welcomes her son, and Salem and Salim think about exploiting Yaqout.
Raad, the servant of the Jinn, asks Jouder to travel to Abdul Samad. Salem and Salim agree to get rid of Jouder and Yaqout, so they ask the ship captain to take them on the boat with him.
The ship captain kidnaps Joudar and Yaqout and imprisons them. Yaqout is able to summon the Jinn’s servant and Jouder asks him to free them from their captivity and take them to Abdul Samad. The judge arrests Salem and Salim and they confess to what they did and imprison them.
Jouder asks Raad to free his brothers Salem and Salim from captivity and bring them home. Jouder orders him to build a palace for him immediately.
The judge orders the arrest of Yaqout to interrogate him in releasing Salem and Salim from prison, but Jouder asks Raad to invite the judge to his house so he can tell him what happened.
Jouder asks Raad to travel to Abdul Samad and return half of the treasure to him. Yaqout is considering leaving Jouder’s service after what happened to him from his two brothers, but the governor asks the judge to arrest Jouder and Raad for the latter’s fight against the governor’s army.
The governor agrees with the judge to develop a plan to capture Raad and Jouder, but the latter invites the governor to his palace and presents a precious gift to his country, which causes the governor to pardon him.
The governor appoints Jouder as Minister of the State Treasury, but the latter apologizes for the mission. Jouder meets the daughter of the governor, Qut Al-Qulub, and proposes to marry her.
Jouder marries Qut Al-Qulub. Salem and Salim find Jouder's ring, and Raad becomes obedient to them. Qut Al-Qulub becomes ill and the doctors fail to treat her.
Raad informs Jouder of Qut Al-Qulub's illness due to her father's death and gives him the good news of her pregnancy. Salem and Salim look forward to marrying the judge's daughters, who announces the governor's will that Jouder succeed him in ruling the city. Raad and Yaqout bid farewell to Jouder and travel.