´It was narrated from Ibn Abbas that the Messenger of Allah(ﷺ) said:` "Whoever learns about the stars, he learns a branch of magic; the more he learns (of the former) the more he learns (of the latter)."
Hadith Referenceسنن ابن ماجه / كتاب الأدب / 3726
Hadith Gradingالألبانی:حسن | زبیر علی زئی:إسناده حسن
Hadith Takhrij«سنن ابی داود/الطب 22 ( 3905 ) ، ( تحفة الأشراف : 6559 ) ، وقد أخرجہ : مسند احمد ( 1/227 ، 311 ) ( حسن ) »