Bhagavad Gita 8.5
अन्तकाले च मामेव स्मरन्मुक्त्वा कलेवरम्। यः प्रयाति स मद्भावं याति नास्त्यत्र संशयः।।8.5।।
antakāle ca māmeva smaranmuktvā kalevaram| yaḥ prayāti sa madbhāvaṃ yāti nāstyatra saṃśayaḥ||8.5||
antakale ca mameva smaranmuktva kalevaram yah prayati sa madbhavam yati nastyatra samshayah8.5
Meaning
One who departs from the body remembering Krishna alone at the time of death attains Krishna's nature. There is no doubt about this. The last thought determines the destination.
और जो कोई पुरुष अन्तकाल में मुझे ही स्मरण करता हुआ शरीर को त्याग कर जाता है, वह मेरे स्वरूप को प्राप्त होता है, इसमें कुछ भी संशय नहीं।
This is verse 5 of 28 in Chapter 8 (Aksara Brahma Yoga) of the Bhagavad Gita.