Hatthivagga

Suttapiṭaka · Khuddakanikāya · Therāpadāna (1) · Vol. 32 · Section 221

[221] Seated in an excellent palace, attended by a company of women, I saw an ailing ascetic (samaṇa) and led him into my house. When the Great Hero had entered and taken his seat — the god of gods, the bull of men — ghee and oil were given by me to Siddhattha, the great seer. Seeing him with his distress allayed, the faculties of his countenance serene and bright, I venerated the Teacher's feet and made proclamation throughout the city. Seeing me so full of serene confidence, the Hero, who had attained perfection in psychic power (iddhi), rose up into the sky, like a king of swans in the air. In the ninety-fourth aeon (kappa) from now, the gift that I gave then — I know of no bad destination (duggati): this is the fruit of ghee and oil. In the seventeenth aeon from now, there was one bearing the name Dutideva, a wheel-turning monarch (cakkavatti) endowed with the seven treasures, of great might. The four analytic insights (paṭisambhidā), and also these eight liberations (vimokkha), and the six superknowledges (chaḷabhiññā) have been realized; the Buddha's teaching has been fulfilled. Thus indeed the Venerable Sappidāyaka the Elder spoke these verses. The Apadāna of Sappidāyaka the Elder is concluded. The tenth: the Apadāna of Pāpanivāriya the Elder (220)

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 2 other places