Badr was a good man who worked as a merchant in the town market, and he had an evil friend named Hammam. The two went out one day on a journey, and Badr found a bag of pure gold, so he said to his friend: We must take this to the judge to return it to its owner.

But Hammam coveted the gold, so he said to his friend: I see that we bury the gold under the trunk of this tree for a few days. If anyone asks about it, we return it to its owner, and if no one asks, we hand it over to the judge. After they did that, Hammam went the next day and took the gold.

Days passed and no one asked about the gold, so Badr asked his friend to bring the gold as they had agreed. Then they went together to the tree and did not find the money. Hammam shouted: You have stolen the money, O Badr. I will sue you in court. Hammam accused his friend of theft despite being the thief himself. The judge asked him: Do you have witnesses? Hammam said: Yes, the tree under which we buried the gold.

Hammam had hidden one of his accomplices in the tree to answer the judge and say that Badr is the thief. Hammam went with Badr and the judge to the tree, and he confidently asked it: O tree, tell me who is the thief?

A voice from inside it firmly answered: Badr is the thief. The judge felt there was a trick in the matter, so he ordered his soldiers to set fire around the tree. The one inside screamed and came out terrified. He confessed what Hammam had done. The judge arrested him and presented him for trial, rewarding him for treachery and theft.