Judge Hamimsa and the Sultan

A wise Moroccan judge resolves an impossible dispute through patience, insight, and a brilliant test that reveals the true owner of a treasured chest.
July 29, 2026
Parchment style illustration of Judge Hamimsa presenting his wise judgment before the Sultan and two merchants in a Moroccan royal court.

Within the bustling imperial city of Morocco, where towering gates opened into crowded markets and the sultan’s palace overlooked streets filled with merchants, scholars, and travelers, there lived a judge whose wisdom was known throughout the land.

His name was Qâdî Hamimsa.

People came from distant towns to seek his judgment because they believed he listened with equal patience to the rich and the poor.

He never hurried a decision.

He often reminded those who appeared before him, “Justice cannot run faster than the truth.”

Even the Sultan admired Hamimsa’s reputation.

Whenever a difficult matter reached the royal court, the ruler often asked the judge for advice.

One summer morning, two wealthy merchants arrived at the palace carrying an ornately carved wooden chest.

Each claimed the chest belonged to him.

Neither was willing to surrender it.

The first merchant declared, “This chest contains the fortune I inherited from my father. It was stolen while my caravan rested outside the city.”

Don’t stop yet! See our complete East African folktales collection

The second merchant immediately replied, “He speaks falsely. The chest belongs to my family. I purchased it many years ago, and it was taken from my warehouse.”

Both men produced witnesses.

Both offered convincing stories.

Neither account could easily be disproved.

The Sultan questioned them for hours.

He examined the chest carefully.

It bore no family mark.

No written record proved its ownership.

The witnesses contradicted one another until the court became confused.

At last, the Sultan sighed.

“I cannot decide this matter fairly.”

Turning to one of his royal attendants, he said, “Summon Judge Hamimsa.”

When Hamimsa entered the great audience hall, he bowed respectfully before the Sultan.

“I have heard only that justice requires my presence,” he said.

The Sultan smiled.

“Then perhaps justice has arrived.”

After listening carefully to both merchants, Hamimsa did not ask about the treasure inside the chest.

Instead, he requested that the chest remain closed.

He walked around it slowly, examining every carved detail without speaking.

The court watched in complete silence.

Finally, Hamimsa turned toward the merchants.

“I will settle this dispute tomorrow morning.”

The merchants looked at one another in surprise.

The Sultan himself was puzzled.

“You already know the answer?” he asked.

“I know where the answer may be found,” Hamimsa replied calmly.

That evening, while the palace slept, the judge quietly began preparing a test unlike any the royal court had ever witnessed.

Before sunrise, Judge Hamimsa returned to the royal court.

The carved wooden chest had been placed in the center of the audience hall.

The two merchants stood nearby, each confident that the judge would rule in his favor.

The Sultan, his advisers, and many curious townspeople gathered to witness the decision.

Hamimsa looked at the merchants and spoke calmly.

“Yesterday, each of you claimed to know this chest better than anyone else.”

Both men nodded.

The judge then ordered the royal attendants to bring several carpenters.

The craftsmen carried chisels, carving knives, and pieces of polished cedar wood into the hall.

The crowd watched with confusion.

Hamimsa turned to the first merchant.

“If this chest truly belongs to your family,” he said, “you must know how it was made. I ask you to show these craftsmen the carving pattern that decorates its lid. Reproduce it from memory.”

The merchant hesitated.

He studied the chest for several moments before attempting to draw the design.

His hands shook.

The pattern he sketched was incomplete, and several details were missing.

Hamimsa thanked him politely.

He then invited the second merchant to do the same.

The man confidently took the carving tools.

Without looking closely at the chest, he carved the same flowing vines, geometric borders, and tiny birds that decorated its surface.

Even the smallest details matched perfectly.

The court murmured with surprise.

Hamimsa was not yet satisfied.

He asked one final question.

“When was this chest last repaired?”

The first merchant looked puzzled.

“I do not remember.”

The second merchant answered immediately.

“Three winters ago, the right rear corner cracked during a flood. My carpenter replaced the damaged piece with cedar from the Middle Atlas. The grain is slightly lighter than the rest.”

The judge nodded to the royal carpenter.

The craftsman carefully examined the chest before bowing to the Sultan.

“It is exactly as he described.”

The audience fell silent.

Hamimsa faced the Sultan.

“A person may falsely claim ownership of a valuable object,” he said, “but the true owner remembers the marks left by years of care.”

The Sultan smiled.

“The judgment is clear.”

The chest was returned to its rightful owner.

The merchant who had lied lowered his head in shame.

He admitted that he had hoped the absence of written proof would allow him to claim another man’s property.

Instead of ordering a harsh punishment, the Sultan required him to compensate the innocent merchant for the trouble and loss of business the false claim had caused.

He also warned him never to misuse the court again.

Turning to Hamimsa, the Sultan said,

“Many judges search only for evidence that can be seen. You searched for knowledge that could only belong to the truth.”

Hamimsa bowed respectfully.

“Justice is not found by cleverness alone,” he replied. “It is found by listening patiently until the truth reveals itself.”

News of the remarkable judgment spread throughout Morocco.

Judges repeated the story to their students.

Merchants remembered that honesty was always wiser than deception.

Even the Sultan often reminded his advisers that wisdom grows from patience rather than haste.

And so, Judge Hamimsa and the Sultan became one of the treasured judicial legends of the Moroccan court tradition, reminding every generation that true justice belongs to those who seek truth with wisdom, fairness, and careful judgment.

Want to dive deeper? Read more North African folktales today

Moral Lesson

This Moroccan folktale teaches that true justice requires patience, careful observation, and wisdom. Honest knowledge always stands stronger than false claims.

Knowledge Check

1. Why did the two merchants come before the Sultan?
They both claimed ownership of the same carved wooden chest.

2. Why could the Sultan not decide the case?
Both merchants presented convincing stories and conflicting witnesses, leaving no clear evidence.

3. What unusual test did Judge Hamimsa use?
He asked each merchant to reproduce the chest’s carvings and describe details that only the true owner would know.

4. How was the real owner identified?
He accurately recreated the carvings and remembered the chest’s earlier repair.

5. What happened to the dishonest merchant?
He admitted his deception and was ordered to compensate the rightful owner.

6. What is the central lesson of this folktale?
The story teaches that patience, wisdom, and careful observation lead to true justice.

Source: Adapted from “Le Qâdî Hamimsa et le Sultan” in Françoise Légey, Contes et légendes populaires du Maroc (1926).

Fabowale Elizabeth is a storyteller, cultural historian, and author who brings Africa’s rich folklore to life. Through her work with Folktales.Africa, she transforms oral traditions into immersive, culturally grounded stories that entertain, teach, and inspire. Guided by a passion for heritage, language, and education, Fabowale blends meticulous research with imagination to revive myths, legends, and moral tales, offering readers a vivid window into Africa’s diverse cultures and timeless wisdom.

Beyond writing, she is an advocate for literacy and cultural preservation, creating content that sparks curiosity, nurtures critical thinking, and celebrates the continent’s history and traditions.

Banner

Go toTop

Don't Miss

Parchment style illustration of a Jewish merchant and a Town Crier standing before a wise judge in a traditional Moroccan marketplace.

The Jew and the Town Crier

In a lively market town where merchants filled the streets
Parchment style illustration of Moulay Mohammed standing before the crowned Serpent King in a glowing underground crystal kingdom.

Moulay Mohammed and the Serpent King

Among the rugged mountains and fertile valleys of southern Morocco,