Bhagavad Gita · 6.7
जितात्मनः प्रशान्तस्य परमात्मा समाहितः।शीतोष्णसुखदुःखेषु तथा मानापमानयोः॥
jitātmanaḥ praśhāntasya paramātmā samāhitaḥ śhītoṣhṇa-sukha-duḥkheṣhu tathā mānāpamānayoḥ
For one who has conquered the self and is serene, the Supreme Self is already established — in cold and heat, pleasure and pain, as well as in honor and dishonor.
— Bhagavad Gita 6.7
Source: Sacred-Texts.com (Sanskrit) + Bhagavad-Gita.io (translations)