Hadith 2.3
Medicine and Spells
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 <i>kahin</i>, the <i>kahin</i> is a magician, and the magician is an infidel.” Razin transmitted it.
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «مَنِ اقْتَبَسَ بَابًا مِنْ عِلْمِ النُّجُومِ لِغَيْرِ مَا ذَكَرَ اللَّهُ فَقَدِ اقْتَبَسَ شُعْبَةً مِنَ السِّحْرِ الْمُنَجِّمُ كَاهِنٌ والكاهنُ ساحرٌ والساحرُ كافرٌ» . رَوَاهُ رزين
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.