Patanjali Yoga Sutra 1.15
Sanskrit Sutra
दृष्टानुश्रविकविषयवितृष्णस्य वशीकारसंज्ञा वैराग्यम्॥१५॥
Swami Vivekananda's translation
That effect which comes to those who have given up their thirst after objects, either seen or heard, and which wills to control the objects, is non-attachment.
Chapter link: Yoga Sutra Chapter 1

Muni's Play