Bhagavad Gita 5.26
कामक्रोधवियुक्तानां यतीनां यतचेतसाम् ।
अभितो ब्रह्मनिर्वाणं वर्तते विदितात्मनाम् ॥ २६ ॥
The Peace of the Eternal lies near to those who know themselves, who are disjoined from desire and passion, subdued in nature, of subdued thoughts.
Sanskrit text and English translation: Annie Besant, The Bhagavad-Gita, 4th edition (1922) — public domain, via Wikisource. Chapter summaries: SamayaVeda.