Sunan Ibn Majah 3726
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)."
حَدَّثَنَا أَبُو بَكْرٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، عَنْ عُبَيْدِ اللَّهِ بْنِ الأَخْنَسِ، عَنِ الْوَلِيدِ بْنِ عَبْدِ اللَّهِ، عَنْ يُوسُفَ بْنِ مَاهَكَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ ﷺ ـ " مَنِ اقْتَبَسَ عِلْمًا مِنَ النُّجُومِ اقْتَبَسَ شُعْبَةً مِنَ السِّحْرِ زَادَ مَا زَادَ " .
Classification
Hasan (Good) [Darussalam]
References
Sunan Ibn Majah 3726
Sunan Ibn Majah Vol. 5, Book of Etiquette, Hadith 3726