عن ابن عباس رضي الله عنهما قال: قال رسول الله صلى الله عليه وسلم : "من اقتَبَس شُعْبَة من النُّجوم؛ فقد اقتَبَسَ شُعْبة من السِّحْر، زاد ما زاد".
[صحيح] - [رواه أبو داود وابن ماجه وأحمد]
المزيــد ...

Ibn ‘Abbās (may Allah be pleased with him) reported that the Messenger of Allah (may Allah's peace and blessings be upon him) said: "He who acquires a branch of the knowledge of astrology learns a branch of magic of which he acquires more as long as he continues to do so."
Sahih/Authentic. - [Ibn Maajah]

Explanation

Since the unseen is known only to Allah, the Prophet (may Allah's peace and blessings be upon him) forbade all attempts to figure it out. Astrology is thus forbidden, as it is an attempt to use celestial conditions to predict terrestrial events. The Prophet (may Allah's peace and blessings be upon him) explained that learning astrology is learning a kind of magic. The more one learns of it, the more magic he learns.

Translation: French Spanish Turkish Urdu Indonesian Bosnian Russian Bengali Chinese Persian Indian Vietnamese Sinhala Uyghur Kurdish Hausa Portuguese Malayalam Telgu Swahili Tamil Burmese Thai German Japanese Pashto Assamese Albanian Swedish Amharic
View Translations

Benefits from the Hadith

  1. Astrology, that is to foretell future events based on the states of stars, is prohibited because it implies claiming knowledge of the unseen.
  2. Astrology is a form of sorcery which is contrary to Tawhīd.
  3. The more one learns astrology, the more he learns sorcery.
  4. Sorcery comprises several levels.