Srimad-Bhagavatam: Canto 9 - Chapter 1 - Verse 10
Sanskrit:
स तु विप्रेण संवादं ज्ञापकेन समाचरन् ।त्यक्त्वा कलेवरं योगी स तेनावाप यत् परम् ॥ १० ॥
ITRANS:
sa tu vipreṇa saṁvādaṁjñāpakena samācarantyaktvā kalevaraṁ yogīsa tenāvāpa yat param
Translation:
Having been instructed by the great and learned brāhmaṇa Vasiṣṭha, who discoursed about the Absolute Truth, Mahārāja Ikṣvāku became renounced. By following the principles for a yogī, he certainly achieved the supreme perfection after giving up his material body.