The Jataka, Vol. II, tr. by W.H.D. Rouse, , at sacred-texts.com
"Now desire has gone," etc.--This story the Master told while staying at Jetavana, about a young girl.
Tradition tells us that a certain man at Sāvatthi, a servant of the Master's two chief disciples, had one beautiful and happy daughter. When she grew
up, she married into a family as good as her own. The husband, without consulting anybody, used to enjoy himself elsewhere at his own sweet will, She took no notice of his disrespect; but invited' the two chief disciples, made them presents, and listened to their preaching, until she reached the Fruit of the First Path. After this she spent all her time in the enjoyment of the Path and the Fruit; at last, thinking that as her husband did not want her, there was no need for her to remain in the household, she determined to embrace the religious life. She informed her parents of her plan, carried it out, and became a saint.
Her story became known amongst the Brotherhood; and one day they were discussing it in the Hall of Truth. "Friend, the daughter of such and such a family strives to attain the highest good. Finding that her husband did not care for her, she made rich presents to the chief disciples, listened to their preaching, and gained the Fruit of the First Path; she took leave of her parents, became a religious, and then a saint. So, friend, the girl sought the highest good."
While they were talking, the Master came in and asked what it was all about. They told him. He said, "This is not the first time, Brethren, that she seeks the highest; she did so in olden days as well." And he told an old-world tale.
Once on a time, when Brahmadatta was king in Benares, the Bodhisatta was living as an ascetic, in the Himalaya region; and he had cultivated the Faculties and the Attainments. Then the king of Benares, observing how magnifical was the pomp of his son Prince Brahmadatta, was filled with suspicion, and banished his son from the realm.
 The youth with his wife Asitābhū made his way to Himalaya, and took up his abode in a hut of leaves, with fish to eat, and all manner of wild fruits. He saw a woodland sprite, and became enamoured of her. "Her will I make my wife!" said he, and nought reeking of Asitābhū, he followed after her steps. His wife seeing that he followed after the sprite, was wroth. "The man cares nought for me," she thought; "what have I to do with him?" So she came to the Bodhisatta, and did him reverence: she learnt what she must needs do to be initiated, and gazing at the mystic object, she developed the Faculties and the Attainments, bade the Bodhisatta farewell, and returning stood at the door of her hut of leaves.
Now Brahmadatta followed the sprite, but saw not by what way she went; and baulked of his desire he set his face again for the hut. Asitābhū saw him coming, and rose up in the air; and poised upon a plane in the air of the colour of a precious stone, she said to him--"My young lord! ’tis through you that I have attained this ecstatic bliss!" and she uttered the first stanza:--
So saying, as he looked, she rose up and departed to another place. And when she had gone, he uttered the second stanza, lamenting:--
And having made his moan in this stanza, he dwelt alone in the forest, and at his father's death he received the sovereignty.
After this discourse was ended, the Master identified the Birth:--"These two people were then the prince and princess, and I was the hermit."