Sure Fussilat

41:11

ثُمَّ ٱسْتَوَىٰٓ إِلَى ٱلسَّمَآءِ وَهِىَ دُخَانٌۭ فَقَالَ لَهَا وَلِلْأَرْضِ ٱئْتِيَا طَوْعًا أَوْ كَرْهًۭا قَالَتَآ أَتَيْنَا طَآئِعِينَ

Hierauf wandte Er sich dem Himmel zu, während er noch aus Rauch bestand, und sagte dann zu ihm und zur Erde: "Kommt beide her, freiwillig oder widerwillig." Sie sagten: "Wir kommen in Gehorsam."

Tafsir 41:11

Then Allah (may He be glorified) resolved to create the sky at a time when it was smoke, saying to it and the earth, “Submit to My command willingly or be forced, it has to be one of the two, They said, “We come willingly; O our Lord! We have no wish except your wish.”