yad aksaram veda-vido vadanti
visanti yad yatayo vita-ragah
yad icchanto brahmacaryam caranti
tat te padam sangrahena pravaksye
(Attaining the Supreme ,Text 11, Chapter 8)
Meaning: Persons who are learned in the Vedas, who utter omkara and who are great sages in the renounced order enter into Brahman. Desiring such perfection, one practices celibacy. I shall now briefly explain to you this process by which one may attain salvation.
Bhagavad Gita: Process by which one may attain salvation (Attaining the Supreme,Text 11, Chapter 8)