The story begins with King Vikramaditya, a legendary ruler of Ujjain known for his unyielding valor and sense of justice. A tantric sorcerer (mendicant) begins visiting his court daily, gifting him a simple fruit. One day, Vikram discovers that each fruit contains a priceless ruby. To repay the debt, Vikram agrees to help the sorcerer with a dark ritual.
The task is industrial in its grit: Vikram must travel to a desolate cremation ground in the dead of night, find a specific Betaal (a celestial spirit inhabiting a cadaver) hanging from a peepal tree, and bring it back to the sorcerer in total silence.
The Betaal is not a passive prisoner. As Vikram slings the corpse over his shoulder to begin the long trek, the ghost strikes a deal:
"O King, to pass the time of this long journey, I shall tell you a story. But heed this: If you speak a single word during the tale, or attempt to answer the riddle I pose at its end, I shall fly back to my tree, and you must begin your labor all over again."
However, there is a second, more dangerous condition: If Vikram knows the answer to the riddle and chooses to remain silent to keep the ghost, his head will burst into a thousand pieces.
This cycle repeats 24 times. Each story the Betaal tells is a complex moral maze involving love, betrayal, and duty. At the end of each tale, the Betaal asks a question of supreme difficulty. Because Vikram is a king bound by the "lived truth" and a duty to uphold justice, he cannot stay silent when he knows the right answer.
In the final, 25th story, the Betaal tells a tale so convoluted—involving the tangled relationships of a father and son marrying a daughter and mother—that the lineage becomes an unsolvable knot.
"Tell me, O wise King, what is the relationship between the children of these two families?"
For the first time, Vikram is genuinely stumped. He remains silent. Having finally achieved the "Condition of Silence," he reaches the sorcerer.
Before Vikram hands him over, the Betaal reveals the sorcerer’s true plan: the mendicant intends to sacrifice both the Betaal and Vikram to gain ultimate power. The ghost tells Vikram:
"The man you serve is a shadow. When he asks you to bow before the altar, tell him: 'I am a King; I know not how to bow. Show me first.' When he bows to demonstrate, strike him down."
Vikram follows the advice, kills the sorcerer, and is rewarded by the gods for his unflinching commitment to his word and his people.