Sadiq Segaraga, a friend of the late Ismet Ulam Raja, has also set his eyes on the vast wealth that once belonged to his friend. He orders his three beautiful daughters, Hamidah, Rafidah and Ghasidah, to woo the three Abduls. Hamidah is successful in wooing Abdul Wahab and Rafidah is successful in wooing Abdul Wahib, but Ghasidah and Abdul Wahub only argue with each other on sight.
The two elder Abduls meet Sadiq Segaraga to ask for his two daughters' hands in marriage. Sadiq agrees, on the condition that they sign a contract written by him and his lawyer, Kassim Patalon. The contract states that if the Abduls lose their temper at any moment during their marriage, all the wealth they own will go to Sadiq and the Abduls will be sold as slaves. Although they are suspicious of the contract, they agree to sign it. After the marriage, Abdul Wahab and Abdul Wahib move into Sadiq's home, where they are told they are not allowed to eat their food, only smell it, and they are to sleep in the stables, not in their wives' rooms. The two Abduls lose their temper at these conditions, and Sadiq reveals the contract, claiming all their wealth and sells the two men as slaves.
Abdul Wahub sees his brothers being sold in the marketplace, but cannot do anything. That night his father appears to him in a dream, telling him to meet a man named Sulaiman Akh-laken. Abdul Wahub does as he's instructed and it turns out that Sulaiman Akh-laken is Ismet Ulam Raja's lawyer who managed Ismet's overseas properties, which are now passed on to Abdul Wahub. Abdul Wahub discovers that he is several times richer than his two elder brothers combined. Using this knowledge, he starts his plan by meeting Sadiq Segaraga and asking for Ghasidah's hand in marriage. Sadiq shows Abdul Wahub the same contract he'd presented to his elder brothers, and Abdul Wahub says that he'll sign it, on the condition that Sadiq signs another contract. The second contract states that if Sadiq loses his temper, then Abdul Wahub will claim all his wealth and sell Sadiq as a slave.
Abdul Wahub and Ghasidah are married, although they supposedly still hate each other. Abdul Wahub arrives at Sadiq's home and is told the same things his brothers were told but, being prepared, he reacts to all the conditions with ease. The following days Abdul Wahub counters Sadiq's trickery by avoiding Ghasidah, going on supposed dinner dates with another woman and giving away all the things in Sadiq's shop to the poor. Each time Sadiq almost loses his temper, but his lawyer Kassim Patalon reminds him about the contract he signed.
Ghasidah then confronts Abdul Wahub, asking him whether he's really having an affair with another woman. At first Abdul Wahub pretends it is true, but the truth comes out that it was just pretend, and that he is actually in love with Ghasidah, and Ghasidah is in love with him.
Sadiq Segaraga finally loses his temper when Abdul Wahub invites the people of the town into Sadiq's house to take away anything they want. When Sadiq admits that his truly angry, Abdul Wahub reveals the contract, taking everything that Sadiq owns and selling Sadiq, Kassim Patalon, Rafidah and Hamidah as slaves in the market.
After a while, Abdul Wahub buys Abdul Wahab and Abdul Wahib (who have been bought by a merchant), along with Sadiq, Kassim Patalon, Rafidah and Hamidah, and brings all of them back to the house that was once the only thing that Abdul Wahub inherited from Ismet Ulam Raja. After a tearful speech, Abdul Wahub apologizes to everyone for his doing and undoes the contracts that bound them as slaves. All those who spent their time as slaves learned their lesson.