SB 3.6.27
sirsno ’sya dyaur dhara padbhyam
kham nabher udapadyata
gunanam vrttayo yesu
pratiyante suradayah
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada:
Thereafter, from the head of the gigantic form, the heavenly planets were manifested, and from His legs the earthly planets and from His abdomen the sky separately manifested themselves. Within them the demigods and others also were manifested in terms of the modes of material nature.