[All] praise is [due] to Allah , Lord of the worlds –
The following excerpt is taken from “Maariful Quran” vol 1 pg. 64-65:
Al -‘alamln is _the plural of ‘alam (world, universe, kingdom ). “The worlds” include all possible forms of — existence: the sky, the earth, the sun, the moon, stars, wind and rain, the angels, the jinns, animals, plants, minerals, and, of course, men. So, ‘the Lord of all the worlds” means that Allah alone gives nurture to all the forms of existents that are to be found in this universe, or in the millions of universes that may lie beyond our own universe in the outer space. Imam Razi, the great commentator of the Holy Qur’an, says that the existence of an indefinite space beyond our universe can be proved on the basis of rational argument, and it is also certain that Allah is All-Powerful, so it should not be at all difficult for Him to have created millions of other universes in this endless space. It has been reported from the Companion Abu Sa’Id al-Khudri ;that there are forty thousand worlds; our world, stretching from the East to the West, is only one of them, there being many more besides it. According to the well-known commentator Muqatil , the number of worlds is eighty thousand. (See Qurtubi)
As for the objection that no man or animal can live in the outer space owing to the lack of the kind of air which should be compatible with the physical make-up of man, Imam Razi replies that the inhabitants of the worlds in the outer space need not necessarily have the same physical make-up as that of the inhabitants of our world which should make existence in space impossible for them, and suggests that their organic composition and the requirements for its nourishment and sustenance might just be totally different. Imam Razi postulated these possibilities some eight hundred years ago without the help of the modern facilities for observation and exploration, yet the speculations of the scientists in the age of space travel endorse his view.
Shafi, Muhammad (2008). Maariful Quran. (Vol .1 pg. 64-65) http://www.islamicweblibrary.com/wp-content/uploads/2020/04/maarif-volum1-english.pdf