Sayyiduna Awf bin Malik (may Allah be pleased with him) says: We used to perform ruqyah in the Jahiliyyah, so we said: "O Messenger of Allah (peace and blessings be upon him)! What is your view on that?" He (peace and blessings be upon him) said: "Present your ruqyahs to me; there is no harm in ruqyah so long as it contains no shirk."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الضحايا / 19596