Thomakavagga

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

[260] On the mountain Himavant I was a wearer of bark-fiber garments; I fed on unsalted leaves, and I was restrained in my observances. When the time for the morning meal had come, Siddhattha approached me; full of confidence, I gave it to the Buddha with my own hands. In the ninety-fourth aeon (kappa) from now, since I then gave that leaf, I know of no bad destination (duggati): this is the fruit of the gift of leaves. In the twenty-seventh aeon I was the king Yadatthiya, a universal monarch (cakkavatti) of great might, endowed with the seven treasures. The four analytic insights (paṭisambhidā), these eight liberations (vimokkha), and the six superknowledges (abhiññā) have been realized; the Buddha's teaching (sāsana) has been fulfilled. Thus indeed the Venerable Elder Paṇṇadāyaka spoke these verses. The Apadāna of the Elder Paṇṇadāyaka is concluded. The Ninth: The Apadāna of the Elder Kuṭidāyaka (259)

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

This passage also appears in 5 other places