The Jataka, Vol. II, tr. by W.H.D. Rouse, , at sacred-texts.com
"Nothing is worse," etc.--This story the Master told while dwelling at Jetavana,. about feeding the sacred fire. The circumstances are the same as those of the Naṅguṭṭha Birth related above 2. The Brethren, on seeing those who kept up this fire, said to the Blessed One, "Sir, here are topknot ascetics practising all sorts of false asceticism. What's the good of it?" "There is no
good in it," said the Master. "It has happened before that even wise men have imagined some good in feeding the sacred fire, but after doing this for a long time, have found out that there is no good in it, and have quenched it with water, and beat it down, beat it down with sticks, never giving it so much as a look afterwards." Then he told them a story.
Once upon a time, when Brahmadatta was king of Benares, the Bodhisatta was born in a brahmin family. When he was about sixteen years old, his father and mother took his birth-fire 1 and spoke to him thus: "Son, will you take your birth-fire into the woods, and worship the fire there; or will you learn the Three Vedas, settle down as a married man, and live in the world?" Said he, "No worldly life for me: I will worship my fire in the woodland, and go on the way to heaven." So taking his birth-fire, he bade farewell to his parents, and entered the forest, where he lived in a hut made of branches and leaves and did worship to the fire.
One day he had been invited to some place where he received a present of rice and ghee. "This rice," thought he, "I will offer to Great Brahma."  So he took home the rice, and made the fire blaze. Then with the words, "With this rice I feed the sacred flame," he cast it upon the fire. Scarce had this rice dropt upon it, all full of fat as it was--when a fierce flame leapt up which set his hermitage alight. Then the brahmin hurried away in terror, and sat down some distance off "There should be no dealings with the wicked," said he; "and so this fire has burnt the hut which I made with so much trouble!" And he repeated the first stanza:--
"I've done with you now, false friend!" he added; and he poured water upon the fire, and beat it out with sticks, and then buried himself in the mountains. There he came. upon a black hind licking the faces of a lion, a tiger, and a panther. This put it into his mind how there was nothing better than good friends; and therewith he repeated the second stanza:
[paragraph continues] With these reflections the Bodhisatta plunged into the depths of the mountains, and there he embraced the true religious life, cultivating the Faculties and the Attainments, until at his life's end he passed into Brahma's heaven.
After delivering this discourse, the Master identified the Birth: "In those days I was the ascetic of the story."
29:2 No. 144.
30:1 Cp. vol. i. no. 61, and 144, init.; a sacred fire was also kindled at a wedding, to be used for sacrifice and constantly kept up (Manu, 3. 67). So too now, the Agni-hotṛi in Kumaon begins fire-worship from the date of his marriage. The sacred fire of the marriage altar is carried in a copper vessel to his fire-pit. It is always kept alight, and from it must be kindled his funeral pyre (North Indian Notes and Queries, iii. 284).