Before there was anything else, there was Allah (SWT). Then
Allah (SWT) decided to create the universe we know. Allah
(SWT) created the stars, the sun, the moon, and all the planets, including the Earth. On Earth, he created all of the oceans, forests, mountains, rivers, trees and flowers.
Then Allah (SWT) wanted to
create a man, and so He did. He called the man Adam - the first man