In the same way, a mendicant committed to the higher mind should focus on three bases from time to time: the basis of immersion, the basis of exertion, and the basis of equanimity. … When a mendicant dedicated to the higher mind focuses from time to time on the basis of immersion, the basis of exertion, and the basis of equanimity, their mind becomes pliable, workable, and radiant, not brittle, and has become rightly immersed in samādhi for the ending of defilements. They extend the mind to realize by insight each and every thing that can be realized by insight; and they are capable of realizing those things, since each and every one is within range.
If they wish: ‘May I wield the many kinds of psychic power’ … ‘With clairaudience that is purified and superhuman, may I hear both kinds of sounds, human and heavenly, whether near or far.’ … ‘May I recollect many kinds of past lives.’ … ‘With clairvoyance that is purified and superhuman, may I see sentient beings passing away and being reborn.’ … ‘May I realize the undefiled freedom of heart and freedom by wisdom, and live having realized it with my own insight in this very life due to the ending of defilements.’ They are capable of realizing these things, since each and every one is within range.”
Numbered Discourses 3.103 11. Awakening Before Awakening