A neighbor offers Juha food, to his wife Farida’s delight, but Juha tells her that he’s invited to a feast at Malik’s and will bring her tasty food. But when Juha goes there, he doesn’t find what he wanted, so he returns to his neighbor asking him for the food, but he tells him he gave it away.
Farida buys from Malik olive oil, which Juha claims is impure. As Juha complains about it to the judge, the latter decides to summon Malik. When Malik learns about it, Juha tells him that he will take care of the judge in return for new oil.
Juha disguises himself as a beggar after he learned from a beggar that he can make a lot of money in one day. He takes Malik with him and they go out to the streets begging for money, after which they divide the money between them, but Juha and Malik get so tired.
An important man in the neighborhood invites Juha for lunch at his home, so Juha tells his wife that he will take his son with him. When the man doesn’t serve meat, Juha advises him to do so in order to have his name on everyone’s lips.
As Malik and his friends go to Juha's house, they ask him for something to eat or drink, so Juha sells their shoes. They complain to the judge, who orders them to give Juha the money for the fruits he bought for them with the shoes’ money and that he buys them other shoes.
The owner of a restaurant complains to the judge that Malik doesn’t want to pay the whole bill, so he makes him pay three riyals. When Juha learns, he devises a plot, which Malik likes, and gets the money back. But as Malik asks that they split the money between them, Juha refuses.
Juha wants to open a clothes store and asks for a loan from his neighbor, Malik, but he refuses. Juha's grandfather dies, and since he is his sole heir, Malik tries to curry favor with him, and his wife takes food to Farida as a gift.
Farida treats Malik's wife, Bahia, as if she were her maid, while Malik approaches Juha, and all for the sake of the inheritance, which Juha gets and hides in the soil, and when he returns to search for it, he doesn’t find it, so Malik shuns him.
Juha flirts with Malik's wife Bahia, so she tells her husband, who gets angry at Juha, whereupon he gives him a ladder to use to get into a fruit farm to pick the fruit and sell it, which is only a ploy to punish him. As Juha enters the farm, the guard arrests him.
Bibisha's brother-in-law inherits a fortune, and when Bibish learns, he invites him to dinner, while Bibisha tries to be nice to him. Also her friend comes to dinner after learning that he has become rich, and Bibish's sister as well tries to draw his attention to her to marry him.
Juha takes over Hamdan's shop after he traveled, dividing the profit in half. Juha buys nice things for his wife and home. Hamdan returns, and when he asks Juha for his share of the profit, Juha tells him that his share is with the customers who’ll pay in installments, but he took his own share.
The merchant gives the sons of both Juha and Malik some candy in exchange for their donkeys, so that they can carry the barley sacks themselves, which angers Juha, who quarrels with the merchant when he finds out, then he and Malik quit.
Malik deceives Juha and takes his donkey, claiming he’ll feed him fruits and look after him, but he uses him for work and earns money because of him without telling Juha, whereupon Malik's wife laughingly tells the neighbors, so Farida finds out and tells Juha.
Juha uses a ploy to trick Malik into giving him his house for free to discipline him for what he did with his donkey, and when Malik finds out, he begs him to return his house.
Malik sends one of his men to steal olives from Juha's house, while Farida thinks they were taken by a genie, but when Juha finds out about it, Malik gives him olive oil and pays his household expenses in exchange for not filing a complaint.
Juha dreams about talking to his deceased grandfather, who tells him that he must be a gallant knight like his ancestors, and that he must buy a dagger and defend the weak. When he buys a dagger from Malik, the latter tricks him and sends a man to steal it, but Juha gets wise to the trick.
When Juha borrows his friend's shoes to travel, Bahia goes to Farida, telling her that Juha may have decided to travel to marry another woman in another region, and takes her to the fortune-teller to find out the truth, but as Juha takes his son with him while traveling, Farida feels reassured.
Juha decides to practice medicine after getting some information from the doctor who came to treat his father-in-law, and indeed Malik sends someone for him to treat. When the judge finds out, he orders his imprisonment, but Farida tells him that it was Malik’s fault.
As Malik decides to take another wife, Bahia complains to Juha, who agrees with the matchmaker to get him a strong woman to beat him on the wedding day, whereupon Malik asks Bahia to take him back, but Bahia refuses.
Juha's stingy friend falls seriously ill, so he goes to visit him with Malik, while Bahia and Farida go to visit Awaysha and incite her to have her husband sign over his property to her before his death, but he recovers.
Juha writes a poem praising the judge after Malik and Hamdan told him that they were poets and were going to recite a poem to the judge. He goes before them to the judge, who’s surprised by him because he doesn't like poetry, so he tells him everything, and the judge summons the two men.
Before Juha travels, he entrusts his merchant friend with a costly piece of cloth till he comes back. The merchant’s wife likes the cloth and takes it, thinking that he brought it for her. When Juha returns and doesn’t find the cloth, he decides to take his donkey till he returns it.
As Juha borrows money from Hamdan and fails to return it, he decides to mortgage the house, which angers Farida. Hamdan buys the house of Juha, who stipulates that he come to the house at any time to be blessed by his grandfather's nail. Eventually, Hamdan gets fed up and decides to return the house.
Farida tells her husband that she is pregnant and is craving an embroidered kaftan and anklet, which confuses him as he believes pregnancy cravings are only for food. He asks Hamdan for a loan and finds his neighbor, Malik, whom the judge's guard is looking for as he stole his rosary.
Hamdan and Malik invite Juha to have lunch with them in Hamdan's shop, as they decide to give him contaminated couscous just for laughs, but when Juha returns home, he has terrible stomachache, and his father-in-law calls the doctor, upon which Hamdan dreads the consequences.
The doctor tells Juha that he was poisoned by eating spoiled meat and treats him. Juha goes to Hamdan's shop, where he also sees Malik, whereupon he locks them in the storeroom until they admit that they poisoned him, so they tell him that they were joking with him.
Juha releases Hamdan and Malik after they promised to give him money in exchange for letting them out, whereupon they find that Juha has incited their wives against them, telling them that they are taking other wives. The two men give the money to Juha, who in turn pays the taxes to the judge.