Bhagavad Gita 8.5

अन्तकाले च मामेव स्मरन्मुक्त्वा कलेवरम्।यः प्रयाति स मद्भावं याति नास्त्यत्र संशयः ॥८.५॥

antakāle ca māmeva smaranmuktvā kalevaramyaḥ prayāti sa madbhāvaṃ yāti nāstyatra saṃśayaḥ

And whoever, leaving their body, goes forth remembering Me alone at the time of death, they will attain My Being; there is no doubt about this.

गीता