Bhagavad Gita 8.12

Chapter 8: The imperishable

सर्वद्वाराणि संयम्य मनो हृदि निरुध्य च ।
मूर्ध्न्याधायात्मनः प्राणमास्थितो योगधारणाम् ॥ १२ ॥

All the gates closed, the mind confined in the heart, the life-breath fixed in his own head, concentrated by yoga,

Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.