Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever ties a knot and blows on it has performed magic, and whoever performs magic has committed idolatry. Whoever hangs something as a charm will be entrusted to it.”
Source: Sunan al-Nasā’ī 4079
Grade: Hasan (fair) according to Ibn Muflih
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ عَقَدَ عُقْدَةً ثُمَّ نَفَثَ فِيهَا فَقَدْ سَحَرَ وَمَنْ سَحَرَ فَقَدْ أَشْرَكَ وَمَنْ تَعَلَّقَ شَيْئًا وُكِلَ إِلَيْهِ
4079 سنن النسائي كتاب تحريم الدم الحكم في السحرة
3/68 المحدث ابن مفلح خلاصة حكم المحدث حسن في الآداب الشرعية