Patanjali Yoga Sutra 1.19
Sanskrit Sutra
भव-प्रत्ययो विदेह-प्रकृतिलयानाम्॥१९॥
Swami Vivekananda's translation
(This Samadhi when not followed by extreme non-attachment) becomes the cause of the re-manifestation of the gods and of those that become merged in nature.
Vyasa Bhashya (Sanskrit)
भवप्रययो विदेहप्रकृतिलयानाम् ॥ १९ ॥
विदेहानां देवानां भवप्रत्ययः। ते हि स्वसंस्कारमात्रोपयोगेन चित्तेन कैवल्यपदमिवानुभवन्तः स्वसंस्कारविपाकं तथाजातीयकमतिवाहयन्ति। तथा प्रकृतिलयाः साधिकारे चेतसि प्रकृतिलीने कैवल्यपदमिवानुभवन्ति, यावन्न पुनरावर्ततेऽधिकारवशाच्चित्तमिति ॥ १९ ॥
Vyasa Bhashya (English Translation)
Bhava-pratyaya (Samadhi born of worldly existence / birth) is for the discarnate ones (videha) and those absorbed in primary matter (prakriti-laya). || 19 || Bhava-pratyaya (Samadhi caused by worldly existence) is for the videhas (discarnate) gods. For they, with their minds utilizing mere latent impressions (samskaras), experience a state similar to kaivalya (liberation), and they pass out the maturation of their samskaras of that kind. Similarly, the prakriti-layas (those absorbed in primary matter), while their mind still has its task unfulfilled but is absorbed in prakriti, experience a state similar to kaivalya, until the mind returns again (to worldly existence) on account of its unfulfilled task. || 19 ||
Chapter link: Yoga Sutra Chapter 1

Muni's Play