Srimad Bhagvata Mahapurana: Book 6: Chapter 1: Verses 57-68
(Nay,) he worshipped the sacred fire (by pouring oblations into it) and served his preceptor, strangers (calling at his house) and elders, was a friend to all living beings, free from egotism, pious, taciturn and uncavilling (by nature). One day, this Brahmana went to the woods in obedience to his father's command; and as he returned therefrom, taking fruits and flowers, sticks for the sacrificial fire and Kusa grass, he saw (on the way) a (most) profligate Sudra, who was a (most) libidinous and shameless fellow, drunk with spirituous liquor distilled from meal, sporting with a harlot of the same class-who was not only (similarly) drunk, with her eyes swimming through intoxication but stood by his side in a half-naked condition (with the knot of her loin-cloth loosened)-and (also) singing and joking with her. Seeing her folded in the arm of that Sudra, which was painted with unguents exciting lust, this man (Ajamila) was inspired with extravagant passion and succumbed to (the darts of) love all at once. Though controlling his mind by recourse to reason with all his firmness and by dint of his learning, he could not compose it, agitated as it was with love.
Possessed by the devil of love excited by (the sight of) that (lewd) woman, and (thus) deprived of reason and thinking of her alone with his mind, he actually deviated from his duty (neglected all his sacred obligations). With the entire fortune of his father (at his disposal) he indulged her alone through carnal pleasures delightful to her mind so that she might be pleased (with him). The sinful fellow, whose judgement had been crippled by the sidelong glance of that lewd woman, abandoned before long his own wedded wife, a Brahmana girl, still in the prime of youth and bestowed on him (by her father) in view of his noble pedigree.b(Having spent on her all the fortune of his father) this stupid fellow brought money from here and there by fair and foul means and maintained the family (progeny) of this woman, who was (soon) the mother of many children. Because this fellow-who having violated (the injunctions of) the scriptures, acted according to his own will and was (therefore) censured by (all) worthy men-led a sinful life and lived fora long time in an impure state; eating the food polluted by the touch of a harlot, we shall accordingly take this sinner, who has done no atonement (for his crimes so far), to the presence of Yama (who wields the rod of punishment), where he will be purified through punishment.
Thus ends the first discourse, forming part of the story of Ajamila, in Book Six of the great and glorious Bhagavata-Purana, otherwise known as the Paramahamsa-Samhita.