Simply, Buddhism does not have such kind of Creation story since it rejects the concept of Creator God. Instead, in the Aganna Sutta, the Buddha tells the story of how the human beings came to dwell on Earth. The Buddha told that sooner or later, after a very long time, there would be a time when the world shrinks. As the universe shrinks, many of its inhabitants would die. Of these deceased creatures, some were born again (due to good karma) in the Heavenly realm of Abbhasara (Lucid Light). There, they floated for a very - very long time, as a bodiless, radiating extreme light. They don’t eat or drink, as they nourish themselves from pure spiritual joy.
The following is how the scholars drew a conclusion that the Buddha's Anganna Sutta corresponds very closely to the scientific view.
"The Buddha seems to present a model of cosmology wherein the universe expands and contracts over extremely long periods of time, this description has been found by some to be consistent with the expanding universe model and Big Bang. The Buddha seems to be saying here that the universe expands outward, reaches a stabilising point, and then reverts its motion back toward a central point resulting in its destruction, this process again to be repeated infinitely. Throughout this expanding and contracting process, the objects found within the universe undergo periods of development and change over a long stretch of time, according to the environment in which they find themselves. Following this passage above, the Buddha goes on to say that the “beings” he described in this paragraph become attached to an earthlike planet, get reborn there, and remain there for the duration of the life. As a consequence of this, physical characteristics change and evolutionary changes takes place. This is often interpreted as a very rough theory of evolution. Furthermore, the Aggañña Sutta presents water as pre-existent to earthlike planets, with the planet forming with water and the life moving from the water onto the earth. Buddha does not talk about a specific earth, but about earthlike planets in general."