Ālaṁbandāyakavagga

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

[229] Going out to the park grounds, I saw the Leader of the World; I took up a golden head-wreath (vaṭaṃsaka), finely fashioned. Going swiftly, I climbed up; and seated on the elephant's back, I offered it up to the Buddha Sikhī, the Kinsman of the World. In the thirty-first aeon from now, the flower that I offered then — I know of no bad destination (duggati); this is the fruit of worshipping the Buddha (buddhapūjā). In the twenty-seventh aeon from now, I was one lord of the people, Mahāpatāpa by name, a universal monarch (cakkavatti) of great power. 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 done. Thus indeed did the Venerable Elder Sovaṇṇavaṭaṃsakiya speak these verses. The Apadāna of the Elder Sovaṇṇavaṭaṃsakiya is concluded. The Eighth: The Apadāna of the Elder Miñjavaṭaṃsakiya (228)

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

This passage also appears in 5 other places