Developing the four bases of psychic ability can lead from the near shore to the farther shore.

Apāra sutta - From The Near Shore

"Bhikkhus, these four bases of psychic ability, when developed and frequently practiced, lead from the near shore to the farther shore.

What four?

"Here, bhikkhus, a bhikkhu develops the basis of psychic ability that is endowed with collectedness arising from aspiration and and accompanied by intentional effort, develops the basis of psychic ability that is endowed with collectedness arising from energy and accompanied by intentional effort, develops the basis of psychic ability that is endowed with collectedness arising from [purification of] mind and accompanied by intentional effort, and develops the basis of psychic ability that is endowed with collectedness arising from investigation and accompanied by intentional effort."

"These, bhikkhus, are the four bases of psychic ability, which, when developed and frequently practiced, lead from the near shore to the farther shore."