And thus We gave Abraham [his first] insight into [God's] mighty dominion over the heavens and the earth - and [this] to the end that he might become one of those who are inwardly sure.
Then, when the night overshadowed him with its darkness, he beheld a star;., [and] he exclaimed, "This is my Sustainer!" -but when it went down, he said, "I love not the things that go down."
Then, when he beheld the moon rising, he said, "This is my Sustainer!"-but when it went down, he said, "Indeed, if my Sustainer guide me not. I will most certainly become one of the people who go astray!"
Then, when he beheld the sun rising, he said, "This is my Sustainer! This one is the greatest [of all]!" - but when it [too] went down, he exclaimed: "O my people! Behold, far be it from me to ascribe divinity, as you do, to aught beside God!
Behold, unto Him who brought into being the heavens and the earth have I turned my face, having turned away from all that is false; and I am not of those who ascribe divinity to aught beside Him."[Al-An'am : 75-79]