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.
Vyasa Bhashya (Sanskrit)
दृष्टानुश्रविकविषयवितृष्णस्य वशीकारसंज्ञा वैराग्यम् ॥ १५ ॥
स्त्रियोऽन्नपानमैश्वर्यमिति दृष्टविषये वितृष्णस्य स्वर्गवैदेह्यप्रकृतिलयत्वप्राप्तावानुश्रविकविषये वितृष्णस्य दिव्यादिव्यविषयसंप्रयोगेऽपि चित्तस्य विषयदोषदर्शिनः प्रसंख्यानबलादनाभोगात्मिका हेयोपादेयशून्या वशीकारसंज्ञा वैराग्यम् ॥ १५ ॥
Vyasa Bhashya (English Translation)
Detachment (vairagya) is the consciousness of self-mastery in one who is free from craving for objects seen or heard about. || 15 || For one who is free from craving for seen objects - such as women, food, drinks, and power - and who is free from craving for objects heard about (from scriptures) - such as the attainment of heaven, or the state of discarnate beings (videha), or absorption into primary matter (prakriti-laya) - even when in contact with divine or non-divine objects, the mind, seeing the defects in objects, attains a state of non-indulgence through the power of discriminative knowledge. This state, devoid of the idea of rejecting or accepting, is the consciousness of self-mastery, which is called detachment (vairagya).
Chapter link: Yoga Sutra Chapter 1

Muni's Play