BG Chap 7 - Knowing Kṛṣṇa at the time of death
Those who know Kṛṣṇa, the Supreme Lord, to be the governing principle of the material manifestation (adhibhūta), of the demigods (adhidaiva), and of all methods of sacrifice (adhiyajña), can know the Lord even at the time of death. Thus Kṛṣṇa directs the knowledge, desires and service of many kinds of people toward His lotus feet. Those who develop such knowledge of the Lord by the influence of devotion to Him maintain that knowledge even at the time of death, and that knowledge is never destroyed. It is not like the intelligence of others, established by karma, which varies according to the bodies. Those who know the Lord along with the gross material bodies of the jīvas (adhibhūta), the universal form (adhidaiva) and Paramātmā (adhiyajña), thru the association of devotees, know the Lord even at the time of death.