Yudhishthira, having already heard of the greatness of Vijaya, asked Krishna to tell him about the Ekadashi that falls in the bright half of Phalguna. Krishna answered that he would repeat what the sage Vasishtha had once explained to King Mandhatri, when Mandhatri questioned him closely about that vow and the reward it carries.
Vasishtha told how the tree first came to be. In an age when the whole earth lay under a single ocean and every moving and unmoving creature had perished, a drop bright as the moon fell from Brahma's mouth as he kept his vigil, and it dropped onto the ground. From that drop sprang the great Amalaki, first of all trees, heavy with fruit. Only afterwards did Brahma bring forth gods, demons, gandharvas, yakshas, serpents and the great sages.
When the gods saw the unfamiliar tree they stood amazed, and a heavenly voice told them it belonged to Vishnu: to remember it earned the reward of a cow given away, to touch it doubled that merit, to wear it tripled it, for Vishnu himself dwelt in its root, Brahma above it and Rudra in its trunk. Then Vishnu spoke, and the sages begged him for a vow of little effort and abundant fruit.
Vishnu granted it: on the Dvadashi of the bright half of Phalguna, when Pushya stands in the sky, a man should go to the Amalaki, keep watch at its root through the night and worship Vishnu dwelling in the tree, and by that vigil he would be cleansed of every sin, win the reward of a thousand cows given away, and never fall from Vishnu's world.