Abdullah bin Abbas reported,

The Prophet ﷺ said, "No man acquires a branch of knowledge from the stars except that he has acquired thereby a branch of magic. The more he learns of it, the more sin he gains."

Azami 11518

Sahih

عن ابن عباس

عن النبي ﷺ قال: ما اقتبس رجل علما من النجوم إلا اقتبس بها شعبة من السحر، ما زاد زاد.

الأعظمي 11518صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Ruqya
Chapter
Comprehensive and general supplications
Section
Sorcery has a reality
Numbering
Jami al-Kamil 11518 (2nd edition)
Azami 11518