Bhagavad Gita 7.30

साधिभूतधिदैवं मां साध्यज्ञं च ये विदु: |
प्रयाणकालेऽपि च मां ते विदुर्युक्तचेतस:

Translation

Those who know Me as the governing principle of the adhibhūta (field of matter) and the adhidaiva (the celestial gods), and as adhiyajña (the Lord of all sacrificial performances), such enlightened souls are in full consciousness of Me even at the time of death.