Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:5764ʿAbd al-ʿAzīz b. ʿAbdullāh > Sulaymān > Thawr b. Zayd > Abū al-Ghayth > Abū Hurayrah

Messenger of Allah ﷺ said, "Avoid the Mubiqat, i.e., shirk and witchcraft."  

البخاري:٥٧٦٤حَدَّثَنِي عَبْدُ الْعَزِيزِ بْنُ عَبْدِ اللَّهِ قَالَ حَدَّثَنِي سُلَيْمَانُ عَنْ ثَوْرِ بْنِ زَيْدٍ عَنْ أَبِي الْغَيْثِ عَنْ أَبِي هُرَيْرَةَ ؓ

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ اجْتَنِبُوا الْمُوبِقَاتِ الشِّرْكُ بِاللَّهِ وَالسِّحْرُ