महाभारत प्रसंग · Mahabharata episodes
यक्ष प्रश्न
The Yaksha's questions
Four brothers fall dead beside a lake, and one question after another decides whether the fifth will live.

Source followed. Follows the Mahabharata, Vana Parva, the Aranyeya Parva section.
महाभारत, वन पर्व, आरण्येय पर्व के प्रसंग के अनुसार।
At the end of the twelve years in the forest, the Pandavas were thirsty. A Brahmin's fire-sticks had caught in a deer's horns and the deer had run off with them, and the brothers had gone after it, and lost it. Yudhishthira sent Nakula to look for water. Nakula found a lake with clear water and bent to drink.
A voice said, do not drink until you answer my questions. Nakula, too thirsty to listen, drank, and fell down dead. Sahadeva came, then Arjuna, then Bhima, each one ignoring the voice, each one lying still by the lake. At last Yudhishthira, tired and worried, went to look for them and found his brothers dead, and the voice spoke to him.
It was a Yaksha standing on a tree beside the lake. Yudhishthira did not drink. He said, ask. The Yaksha asked what is heavier than the earth, and he said a mother. What is higher than the sky? A father. What is faster than the wind? The mind. What do you leave behind that goes on? A man's good name. What is the greatest wonder? He said, every day creatures go to the house of Death, and those who remain think they will live for ever.
The questions went on: who is the friend of a traveller, of a householder, of a sick person, of a dying one? Yudhishthira answered them all without hurry. What is happiness? Not to be in debt and not to live away from home. What is the path? The one the great have followed. At the end the Yaksha was pleased and said, I will bring one of your brothers back to life. Choose one.
Yudhishthira chose Nakula, the elder of Madri's two sons. The Yaksha asked why not Bhima or Arjuna. Yudhishthira said, my father had two wives, Kunti and Madri. I am Kunti's son and live, and I ask that one of Madri's sons live too, so that both mothers are fairly served. The Yaksha, who was Dharma himself, his own father, was moved and brought all four brothers back.
प्रश्न Questions, answered
Who was the Yaksha?
Dharma himself, father of Yudhishthira, who took the form of a Yaksha to test his son.
Why did Yudhishthira choose Nakula?
So that both of his father's wives, Kunti and Madri, would each have a son living.
How many questions did the Yaksha ask?
More than a hundred in the Mahabharata. Popular retellings keep a handful.