Śrīmad-Bhāgavatam · Text 9.1.32
Who is speaking and story frame
तदिदं भगवानाह प्रियाया: प्रियकाम्यया ।
स्थानं य: प्रविशेदेतत् स वै योषिद् भवेदिति ॥ ३२ ॥
tad idaṁ bhagavān āha
priyāyāḥ priya-kāmyayā
sthānaṁ yaḥ praviśed etat
sa vai yoṣid bhaved iti
Thereupon, just to please his wife, Lord Śiva said, “Any male entering this place shall immediately become a female!”
Read this verse on Vedabase.ioThis verse has no purport; its meaning is explained by the verses around it.