Bhagavad-gītā As It Is · Text 8.6
Remember Krishna while performing duty
यं यं वापि स्मरन्भावं त्यजत्यन्ते कलेवरम् ।
तं तमेवैति कौन्तेय सदा तद्भावभावित: ॥ ६ ॥
yaṁ yaṁ vāpi smaran bhāvaṁ
tyajaty ante kalevaram
taṁ tam evaiti kaunteya
sadā tad-bhāva-bhāvitaḥ
Whatever state of being one remembers when he quits his body, O son of Kuntī, that state he will attain without fail.
Read Śrīla Prabhupāda's purport on Vedabase.io