Paññāvagga

Suttapiṭaka · Khuddakanikāya · Paṭisambhidāmagga · Vol. 31 · Section 662

[662] Bhikkhus, these four dhammas, when developed and cultivated, lead to the realization of the fruition of stream-entry (sotāpattiphala). Which four? Association with good and wise persons (sappurisasaṃseva), hearing the good teaching (saddhammassavana), reasoned attention (yonisomanasikāra), and practice in conformity with the Dhamma (dhammānudhammapaṭipatti). These, bhikkhus, are the four dhammas which, when developed and cultivated, lead to the realization of the fruition of stream-entry. Bhikkhus, these four dhammas, when developed and cultivated, lead to the realization of the fruition of once-returning (sakadāgāmiphala) … … lead to the realization of the fruition of non-returning (anāgāmiphala) … … lead to the realization of the fruition of Arahantship (arahattaphala). Which four? Association with good and wise persons, hearing the good teaching, reasoned attention, and practice in conformity with the Dhamma. These, bhikkhus, are the four dhammas which, when developed and cultivated, lead to the realization of the fruition of Arahantship.

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

This passage also appears in 1 other place