Srimad Bhagavatam Canto 09, Chapter 01, Text 27

SB 9.1.27

tatha tad-anugah sarve
 atma-linga-viparyayam
drstva vimanaso ’bhuvan
 viksamanah parasparam
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
When his followers also saw their identities transformed and their sex reversed, they were all very morose and just looked at one another.
Srimad Bhagavatam Canto 09, Chapter 01, Text 26
Srimad Bhagavatam Canto 09, Chapter 01, Text 28