Thus being favored by the spiritual master, according to the words of Lord Śiva, Sudyumna regained his desired maleness every alternate month and in this way ruled the kingdom, although the citizens were not satisfied with this.
Srimad Bhagavata Purana
श्रीमद्भागवतमहापुराणम्
मूल श्लोकः
आचार्यानुग्रहात्कामं लब्ध्वा पुंस्त्वं व्यवस्थया । पालयामास जगतीं नाभ्यनन्दन् स्म तं प्रजाः
ācāryānugrahātkāmaṃ labdhvā puṃstvaṃ vyavasthayā | pālayāmāsa jagatīṃ nābhyanandan sma taṃ prajāḥ
SB 9.1.40