Bhagavad Gita · 8.2
अधियज्ञः कथं कोऽत्र देहेऽस्मिन्मधुसूदन।प्रयाणकाले च कथं ज्ञेयोऽसि नियतात्मभिः॥
adhiyajñaḥ kathaṁ ko 'tra dehe 'smin madhusūdana prayāṇa-kāle cha kathaṁ jñeyo 'si niyatātmabhiḥ
Who is the lord of sacrifice, and how does He dwell in this body, O Madhusudana? And how are You to be known at the time of death by those who are self-controlled?
— Bhagavad Gita 8.2
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)