Mahāvagga

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

[248] How is wisdom in establishing (adhiṭṭhāna) knowledge (ñāṇa) of the turning away of the mind (cittavivaṭṭa)? Abandoning sensual desire (kāmacchanda), one establishes the mind (citta) by way of renunciation (nekkhamma): thus wisdom in establishing is knowledge of the turning away of the mind. Abandoning ill will (byāpāda), one establishes the mind by way of non-ill will: thus wisdom in establishing is knowledge of the turning away of the mind. Abandoning dullness and drowsiness (thīna-middha), one establishes the mind by way of the perception of light (ālokasaññā): thus wisdom in establishing is knowledge of the turning away of the mind. … Abandoning all defilements (kilesa), one establishes the mind by way of the path of arahantship (arahattamagga): thus wisdom in establishing is knowledge of the turning away of the mind. That is knowledge (ñāṇa) in the sense of what is known; it is wisdom in the sense of understanding. Therefore it is said: wisdom in establishing is knowledge of the turning away of the mind. ____________

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