Śrīmad-Bhāgavatam · Text 3.20.40
Who is speaking and story frame
सृष्ट्वा भूतपिशाचांश्च भगवानात्मतन्द्रिणा ।
दिग्वाससो मुक्तकेशान् वीक्ष्य चामीलयद् दृशौ ॥ ४० ॥
sṛṣṭvā bhūta-piśācāṁś ca
bhagavān ātma-tandriṇā
dig-vāsaso mukta-keśān
vīkṣya cāmīlayad dṛśau
The glorious Brahmā next evolved from his sloth the ghosts and fiends, but he closed his eyes when he saw them stand naked with their hair scattered.
Read Śrīla Prabhupāda's purport on Vedabase.io