Māṇdūkya Upaniṣad 3.2.6

Having well ascertained the object of the knowledge of the Vedanta, and having purified their nature by the Yoga of renunciation, all anchorites, enjoying the highest immortality, become free at the time of the great end (death) in the worlds of Brahma.