[Do you not see that to Allah bows down in prostration whoever is in the heavens and whoever is on the earth]—meaning, all the inhabitants of the heaven prostrate, and some of the inhabitants of the earth. Al-Hasan used to not attribute prostration except to the Muslims. [And the sun, and the moon, and the stars]—all of them—[and the mountains]—all of them—[and the trees]—all of them—[and the living creatures]—all of them. Then He returned to the description of human beings, and made an exception among them, saying: [And many of the people]—meaning the believers—[and many, the punishment has become due upon]—those who did not believe.
Surah Al-Hajj, from (verse 19 - verse 25).
﴿أَلَمْ تَرَ أَنَّ اللَّهَ يَسْجُدُ لَهُ مَنْ فِي السَّمَاوَاتِ وَمَنْ فِي الأَرْض﴾ يَعْنِي: جَمِيعَ أَهْلِ السَّمَاءِ يَسْجُدُونَ وَبَعْضُ أَهْلِ الْأَرْضِ. كَانَ الْحَسَنُ لَا يُعَوِّدُ السُّجُودَ إِلَّا مِنَ الْمُسلمين] ﴿وَالشَّمْس وَالْقَمَر والنجوم﴾ كلهَا ﴿وَالْجِبَال﴾ [كلهَا] ﴿وَالشَّجر﴾ [كُله] ﴿وَالدَّوَاب﴾ كُلُّهَا ثُمَّ رَجَعَ إِلَى صِفَةِ الْإِنْسَانِ، فَاسْتَثْنَى فِيهِ، فَقَالَ ﴿وَكَثِيرٌ من النَّاس﴾ يَعْنِي: الْمُؤْمِنِينَ ﴿وَكَثِيرٌ حَقَّ عَلَيْهِ الْعَذَاب﴾ من لم يُؤمن.
سُورَة الْحَج من (آيَة ١٩ - آيَة ٢٥).