Awf bin Malik said: 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.
Hadith Referenceسنن ابي داود / كتاب الطب / 3886
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:صحيح مسلم (2200)
Benefits and Issues: It is permissible to benefit from such ruqyah (incantations) whose words are clear in meaning and understanding, contain no hint of shirk (associating partners with Allah), and have been proven beneficial through experience.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3886
Anas bin Malik (RA) reported: There passed a bier (being carried by people) and it was lauded in good terms. Upon this the Apostle of Allah (ﷺ) said: It has become certain, it has become certain, it has become certain. And there passed a bier and it was condemned in bad words. Upon this the Apostle of Allah (ﷺ) said: It has become certain, it has become certain, it has become certain. 'Umar said: May my father and mother be ransom for you! There passed a bier and it was praised in good terms, and you said: It has become certain, it has become certain, it has become certain. And there passed a bier and it was condemned in bad words, and you said: It has become certain, it has become certain, it has become certain. Upon this the Messenger of Allah (ﷺ) said: He whom you praised in good terms, Paradise has become certain for him, and he whom you condemned in bad words, Hell has become certain for him. You are Allah's witnesses in the earth, you are Allah's witnesses in the earth, you are Allah's witnesses in the earth.
Shaykh Maulana Abdul Aziz Alvi
Hadith Commentary:
Benefits and Issues: The Prophet Muhammad (sallallahu alayhi wa sallam) has declared those who praise or criticize a funeral before him as witnesses of Allah on earth, and testimony is only valid from people of virtue, righteousness, and piety. Regarding the person who was praised, mention was made of his love, devotion, and obedience to Allah and His Messenger, and for the one who was criticized, his deeds were described as being contrary to this. Indeed, a person's success or failure depends on his actions and deeds.
It is evident that only righteous people praise the goodness of someone: (“Only people of virtue recognize virtue among people.”) People of virtue and goodness alone possess the recognition of virtue and goodness; therefore, only the praise and criticism of such people is considered valid. Evil people will only praise other evil people, for “birds of a feather flock together,” so the words of evil people are not to be relied upon.
Source: Tuhfat al-Muslim: Commentary on Sahih Muslim, Page: 2200