Bhagavad Gita · 18.50
सिद्धिं प्राप्तो यथा ब्रह्म तथाप्नोति निबोध मे।समासेनैव कौन्तेय निष्ठा ज्ञानस्य या परा॥
siddhiṁ prāpto yathā brahma tathāpnoti nibodha me samāsenaiva kaunteya niṣhṭhā jñānasya yā parā
Learn from Me briefly, O son of Kunti, how one who has attained perfection reaches Brahman, the supreme state of knowledge.
— Bhagavad Gita 18.50
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)