Sunan Ibn Majah 3726
سنن ابن ماجه#3726HasanIt 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)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Al-AlbaniHasan
Muhammad Fouad Abd al-BaqiHasan
Zubair Ali ZaiIsnaad Hasan
In-book reference: 33:70