Ummāpupphiyavagga

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

[325] Seeing the Teacher's rag-robe caught at the top of a tree, I raised my joined palms and lifted up my voice all the more. When I beheld it from afar, joy arose in me; raising my joined palms, I filled my mind (citta) with confidence all the more. In the ninety-first aeon from this one, since I then gained that perception (saññā), I know of no bad destination — this is the fruit of the perception of the Buddha. The four analytic insights (paṭisambhidā), and also these eight liberations (vimokkha), the six superknowledges (chaḷabhiññā) have been realized; the Buddha's teaching has been carried out. Thus indeed the Venerable Hāsajanaka Thera spoke these verses. The Apadāna of Hāsajanaka Thera is concluded. The Apadāna of Yaññasāmika Thera, the fourth (324)

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

This passage also appears in 3 other places