Srimad Bhagavatam Canto 03, Chapter 06, Text 27

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.
Srimad Bhagavatam Canto 03, Chapter 06, Text 26
Srimad Bhagavatam Canto 03, Chapter 06, Text 28