Supāricariyavagga

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

[164] The Blessed One named Siddhattha, eldest of the world, bull among men, escorted by his disciples, proceeded toward the city. I was in the king's inner palace, an appointed guardian; seated in the palace, I saw the Leader of the World. Taking oleander (kaṇavera) blossoms, I strewed them over the Saṅgha of bhikkhus; and setting apart [a share] for the Buddha, I strewed yet more [upon him]. In the ninety-fourth aeon (kappa) from now, when I offered up that flower, I know of no bad destination (duggati): this is the fruit of veneration of the Buddha (buddhapūjā). In the eighty-seventh aeon from now there were four of great power (mahiddhikā), wheel-turning monarchs (cakkavattī) endowed with the seven treasures, of great might. The four analytic insights (paṭisambhidā), and also these eight liberations (vimokkha), the six superknowledges (chaḷabhiññā) have been realized: the Buddha's dispensation (sāsana) has been fulfilled. Thus indeed the Venerable Kaṇaverapupphiya the Elder spoke these verses. The Apadāna of Kaṇaverapupphiya the Elder is concluded. Third: the Apadāna of Khajjadāyaka the Elder (163)

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

This passage also appears in 1 other place