In this Hadith, astrology has been regarded a part of magic. In Islam the learning of magic has been held equivalent to infidelity. Thus, it is evident that in Islam, astrology and soothsaying are highly dangerous, and learning them is a great sin. Astrology here stands for that pseudo-science on the basis of which future events are predicted with reference to the movements of stars. There is another science called astronomy by means of which timings of sunrise and sunset are calculated. This branch of science, however, is a genuine science because it is based on experiment and observation.