Ibn ‘Abbas reported God’s messenger as saying:
“If anyone acquires a section of the science of the stars for a purpose other than what God has mentioned he has acquired a branch of magic. The astrologer is a kahin, the kahin is a magician, and the magician is an infidel.”
Razin transmitted it.