Bhagavad Gita 2.65

Chapter 2: The yoga of knowledge

प्रसादे सर्वदुःखानां हानिरस्योपजायते ।
प्रसन्नचेतसो ह्याशु बुद्धिः पर्यवतिष्ठते ॥ ६५ ॥

In that Peace the extinction of all pains ariseth for him, for of him whose heart is peaceful the Reason soon attaineth equilibrium.

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