One verse

Srimad Bhagavatam 9.1.38-39

9.1.38-39

तुष्टस्तस्मै स भगवानृषये प्रियमावहन् । स्वां च वाचमृतां कुर्वन्निदमाह विशाम्पते ॥ ३८ ॥ मासं पुमान् स भविता मासं स्री तव गोत्रज: । इत्थं व्यवस्थया कामं सुद्युम्नोऽवतु मेदिनीम् ॥ ३९ ॥

tustas tasmai sa bhagavan rsaye priyam avahan svam ca vacam rtam kurvann idam aha visampate masam puman sa bhavita masam stri tava gotrajah ittham vyavasthaya kamam sudyumno ’vatu medinim

tustah
being pleased
tasmai
unto Vasistha
sah
he (Lord Siva)
bhagavan
the most powerful
rsaye
unto the great sage
priyam avahan
just to please him
svam ca
his own
vacam
word
rtam
true
kurvan
and keeping
idam
this
aha
said
visampate
O King Pariksit
masam
one month
puman
male
sah
Sudyumna
bhavita
will become
masam
another month
stri
female
tava
your
gotra-jah
disciple born in your disciplic succession
ittham
in this way
vyavasthaya
by settlement
kamam
according to desire
sudyumnah
King Sudyumna
avatu
may rule
medinim
the world

O King Pariksit, Lord Siva was pleased with Vasistha. Therefore, to satisfy him and to keep his own word to Parvati, Lord Siva said to that saintly person, “Your disciple Sudyumna may remain a male for one month and a female for the next. In this way he may rule the world as he likes.”