We know an incantation which we use for curing the sting of the scorpion but you have prohibited it. They recited (the words of incantation) before him, whereupon he said: I do not see any harm (in it), so he who amongst you is competent to do good to his brother should do that. (Using translation from Muslim 2199e)
نَهَى رَسُولُ اللهِ ﷺ عَنِ الرُّقَى قَالَ ابْنُ نُمَيْرٍ فِي حَدِيثِهِ فَأَتَاهُ خَالِي وَكَانَ يَرْقِي مِنَ الْعَقْرَبِ قَالَ فَجَاءَ آلُ عَمْرِو بْنِ حَزْمٍ إِلَى النَّبِيِّ ﷺ فَقَالُوا يَا رَسُولَ اللهِ إِنَّهُ قَدْ كَانَتْ عِنْدَنَا رُقْيَةٌ نَرْقِي بِهَا مِنَ الْعَقْرَبِ وَإِنَّكَ نَهَيْتَ عَنِ الرُّقَى قَالَ فَعَرَضُوهَا عَلَيْهِ فَقَالَ مَا أَرَى بَأْسًا مَنْ اسْتَطَاعَ مِنْكُمْ أَنْ يَنْفَعَ أَخَاهُ فَلْيَنْفَعْهُ