At last, Yudhishthira came to Amravati's gate, where the devas greeted him. "Welcome, Yudhishthira! You may enter heaven's gate, but not your dog."
"What dog?" asked Yudhishthira, surprised. Then he turned and saw a dog who had followed him all the way from Hastinapura.
"The dog made the ascent," Yudhishthira protested. "His devotion is perfect! He too should enter heaven."
"No," said the gods. "You must come alone."
"If so," replied Yudhishthira, "I won't come."
Next, the dog vanished. Yama, god of dharma, appeared; Yudhishthira's father was testing him. "You have done well," he said, and Yudhishthira then entered Amravati.
Inspired by: Jaya: An Illustrated Retelling of the Mahabharata by Devdutt Pattanaik.
Notes: This story is on p. 334.