Bhagavad Gita 2.72
Chapter 2: The yoga of knowledge
एषा ब्राह्मी स्थितिः पार्थ नैनां प्राप्य विमुह्यति ।
स्थित्वाऽस्यामन्तकालेऽपि ब्रह्म निर्वाणमृच्छति ॥ ७२ ॥
This is the Eternal state, O son of Prithâ. Having attained thereto, none is bewildered. Who, even at the death-hour, is established therein, he goeth to the Nirvâna of the Eternal.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.