Bhagavad Gita 6.7
जितात्मनः प्रशान्तस्य परमात्मा समाहितः। शीतोष्णसुखदुःखेषु तथा मानापमानयोः।।6.7।।
jitātmanaḥ praśāntasya paramātmā samāhitaḥ| śītoṣṇasukhaduḥkheṣu tathā mānāpamānayoḥ||6.7||
jitatmanah prashantasya paramatma samahitah shitoshnasukhaduhkheshu tatha manapamanayoh6.7
Meaning
For one who has conquered the mind and is peaceful, the Supreme Self is already reached. Such a person remains equipoised in cold and heat, pleasure and pain, honor and dishonor.
शीत-उष्ण, सुख-दुःख तथा मान-अपमान में जो प्रशान्त रहता है, ऐसे जितात्मा पुरुष के लिये परमात्मा सम्यक् प्रकार से स्थित है, अर्थात्, आत्मरूप से विद्यमान है।
This is verse 7 of 47 in Chapter 6 (Dhyana Yoga) of the Bhagavad Gita.