According to Islam, Astrology is the scientific study of stars for determining and fixing time division such as months and seasons and directions.In modern times, this is lawful because it is perceived by the senses and fixed calculations, which can help determine the times of prescribed prayers, and other religious duties that should be observed at certain times.
ALLAH has informed us of His intended purpose for the stars: to guide mankind in the right path and to drive away evil satanic forces that might disrupt one' life in this world of ours.
"And the Sun runneth on unto a resting place for him .That is the measuring of the mighty, the wise. And for the Moon, we have appointed mensions till she returns like an old shrivelled palm leaf. It is not for the sun to overtake the Moon, nor doth the nights outstrips the day. They float each in an orbit." (Surah X X X VI. verse 38,39,and 40). These verse prove the well ordained and well knit mechanism of Allah's creation.
At another place He says, "He is who appointed the Sun a splendour and the Moon a light and measured for her stages that he might know the number of the years, and the reckoning. Allah has created not (all) that save in truth.
We find that in the Holy Quran, in several verses, Almighty has asked and encouraged mankind to look into and ponder over the objects of his creation, including the heaven, the stars and the Moon, in orders the understand his signs and thereby his supreme might, glory and greatness.
Mention in regard to Astrology or the influence of planets and stars is found in the Holy Quran in connection with Pharaoh, who was warned of the birth of Prophet Moses.
As a consequence of the prediction by the court astrologers of King Namrood who Predicted birth of Prophet Ibrahim so much so that they predicted accurately the conception of Prophet Ibrahim in spite of the best efforts of the King Namrood to prevent it.
Quran Quotes
“And indeed We have adorned the nearest heaven with lamps.” Sыrah 67: Вyah 5.
“And landmarks (sign posts during the day) and by the stars (during the night), they (mankind) guide themselves.” Sыrah 16: Вyah 16. “
... and We have made such lamps as missiles to drive away the Shayatоn (devils).” Sыrah 67: Вyah 5.
"Say (O Muhammad) : Behold what is in the heaven and the earth! But revelations and warnings avail not folk who will not perceive." (Surah Yunus : verse 101).
He detaileth the revelations for people who have knowledge" (Surah X verse 5).