Bhagavad Gita 4.9
Chapter 4: Knowledge and the offering of action
जन्म कर्म च मे दिव्यमेवं यो वेत्ति तत्त्वतः ।
त्यक्त्वा देहं पुनर्जन्म नैति मामेति सोऽर्जुन ॥ ९ ॥
He who thus knoweth My divine birth and action, in its essence, having abandoned the body, cometh not to birth again, but cometh unto Me, O Arjuna.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.