ذِكْرُ إِبَاحَةِ اسْتِرْقَاءِ الْمَرْءِ لِلْعِلَلِ الَّتِي تَحْدُثُ بِمَا يُبِيحُهُ الْكِتَابُ وَالسُّنَّةُ
In the pre-Islamic period we used to apply spells and we asked: Messenger of Allah ! how do you look upon it ? He replied : Submit your spells to me. There is no harm in spells so long as they involve no polytheism. (Using translation from Abū Dāʾūd 3886)
كُنَّا نَرْقِي فِي الْجَاهِلِيَّةِ فَقُلْنَا يَا رَسُولَ اللَّهِ مَا تَقُولُ فِي ذَلِكَ؟ قَالَ «اعْرِضُوا عَلَيَّ رُقَاكُمْ وَلَا بَأْسَ بِالرُّقَى مَا لَمْ يَكُنْ شِرْكًا»