SB 3.3.21

imaṁ lokam amuṁ caiva
 ramayan sutarāṁ yadūn
reme kṣaṇadayā datta-
 kṣaṇa-strī-kṣaṇa-sauhṛdaḥ
Synonyms: 
imam — this; lokam — earth; amum — and the other worlds; ca — also; eva — certainly; ramayan — pleasing; sutarām — specifically; yadūn — the Yadus; reme — enjoyed; kṣaṇadayā — by night; datta — given by; kṣaṇa — leisure; strī — with women; kṣaṇa — conjugal love; sauhṛdaḥ — friendship.
Translation: 
The Lord enjoyed His pastimes, both in this world and in other worlds [higher planets], specifically in the association of the Yadu dynasty. At leisure hours offered by night, He enjoyed the friendship of conjugal love with women.
Purport: 

The Lord enjoyed in this world with His pure devotees. Although He is the Personality of Godhead and is transcendental to all material attachment, He nevertheless exhibited much attachment for His pure devotees on the earth, as well as for the demigods who engage in His service in the heavenly planets as powerful delegated directors in the management of all material activities. He displayed special attachment for His family members, the Yadus, as well as for His sixteen thousand wives, who had the opportunity to meet Him in the leisure hours of night. All these attachments of the Lord are manifestations of His internal potency, of which the external potency is only a shadow representation. In the Skanda Purāṇa, Prabhāsa-khaṇḍa, in the topics between Lord Śiva and Gaurī, the manifestation of His internal potencies is confirmed. There is mention of the Lord’s meeting with sixteen thousand cowherd damsels although He is the Haṁsa (transcendental) Supersoul and maintainer of all living entities. The sixteen thousand cowherd damsels are a display of sixteen varieties of internal potencies. This will be more elaborately explained in the Tenth Canto. It is said there that Lord Kṛṣṇa is just like the moon and the damsels, part of His internal potencies, are like the stars around the moon.