Bhagavad Gita 18.50

सिद्धिं प्राप्तो यथा ब्रह्म तथापनोति निबोध मे |
समसेनैव कौन्तेय निष्ठा ज्ञानस्य या परा

Translation

Hear from Me briefly, O Arjun, and I shall explain how one, who has attained perfection (of cessation of actions), can also attain Brahman by being firmly fixed in transcendental knowledge.