Yoga Sutras of Patanjali · 3.51
स्थान्युपनिमन्त्रणे सङ्गस्मयाकरणं पुनरनिष्टप्रसङ्गात्॥५१॥
sthānyupanimantraṇe saṅga-smaya-akaraṇaṁ punar aniṣṭa-prasaṅgāt
When invited by celestial beings, the yogi should not yield to attachment or smug pride, lest the undesirable recur.
— Yoga Sutras of Patanjali 3.51
Source: Sanskrit attributed to Patanjali (c. 2nd century BCE – 4th century CE). Public-domain English readings drawn from Swami Vivekananda's 'Raja Yoga' (1896) and Charles Johnston's 'The Yoga Sutras of Patanjali' (1912).