Ramayana
ये तु तत्र वनोद्देशे सत्त्वाः पुरुषवादिनः । वृक्षाः पुरुषनामानस्ते ऽभवन् स्त्रीजनास्तदा ॥ 7-87-13 ॥
And whatever beings in that tract of the forest were of male nature, and the trees that bore masculine names, all then became women.
english translation