ASTROLOGY in general is the study of the relationship between the movements of the stars and their influence on people and events. Astrology is the study of celestial bodies as they relate to human beings and natural events. The primary astrological bodies are the Sun, Moon, and planets, which are analyzed by their aspects
From an Islamic perspective, not only is the practice of astrology Haraam , but also visiting an astrologist and listening to his predictions, buying books on astrology or reading one's horoscope are also forbidden.
Muslim scholars of the Past referred to the field of stars and planetary calculations collectively as Tanjeem. Dr. Bilal Philips, Fundamentals of Tawheed, p:88
1. The first Category represents the belief that earthly beings are influenced by heavenly bodies and future events are forecasted by the observation of the movement of these bodies. Tayseer al-Azeez al-Hameed, p: 441
2. The second category represents that those who claim that Allah (Glory be to Him) has willed that the movement and configurations of heavenly bodies indicate the occurrence of earthly events. Tayseer al-Azeez al-Hameed, p: 442
3. The third and the final category is the use of star formation by sailors or desert travellers in order to determine directions or by farmers to determine the arrival of the seasons in order that they may know when to plant crops, etc. Tayseer al-Azeez al-Hameed, p: 447,448.
The third category is permissible according to the ayah of the Qur’an.Surah Anam 6:97 “And it is He who placed for you the stars that you may be guided by them through the darknesses of the land and sea. We have detailed the signs for a people who know”.
The Prophet Muhammad صلى الله عليه و سلمsaid, “Whoever acquires knowledge of any branch of astrology, has acquired the knowledge of a branch of a magic. The more he increases in that knowledge, the more he increases in sin.” Sunan Abu Dawood Vol 3: 3896.
One who seeks his horoscope comes under the ruling contained in the Prophet’s statement (May Allah honor Him and grant Him peace): "The Salah (daily prayer) of whoever approaches a fortune-teller and asks him about anything will not be accepted for forty days and nights." Sahih Al Muslim Vol 4:5440.
The punishment in this Hadeeth is simply for approaching and asking the astrologist, even if one is in doubt about the truth of his statements. If one is in doubt about the truth or falsehood of astrological information, he is in doubt about whether or not others know the unseen and the future besides Allah. This is a form of Shirk because Allah (Glory be to Him) has clearly stated:
"With Him are the keys to the unseen and none knows it except Him" Qur’an.Surah An`am 6:59.
Muhammad صلى الله عليه و سلم regarded it as a branch of magic, which is prohibited by Islamic law. Second type of astrology is lawful because it is perceived by the senses and fixed calculations. This is the scientific study of stars for determining and fixing time division such as months and seasons and determining and fixing compass directions. In modern times, this can be called astronomy.
Polytheistic astrology has dramatically spread in recent years, and it has become a means of distorting people’s belief in Allah. Private institutes have been founded; books, magazines and newspapers are published, under various titles such as “What’s in the Stars for You?”, or Horoscope. Because this subject is often overlooked, many Muslims may not be aware of the ruling of Astrology. It would be easy to find it amusing to check on one’s horoscope or discuss which ‘sign’ you were born under.
Book of Fundamentals of Tawheed by Dr. Bilal Philips