Wa `alaykum As-Salamu waRahmatullahi wa Barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this fatwa:
Answering your question, Dr. Mohammad S. Alrahawan, Associate Professor at the department of Islamic Studies in English, Al-Azhar University, Egypt, states:
Wearing Amulets in Islam
There is no report from Prophet (peace be upon him) or any of his blessed Companions about the practice of writing Quranic verses, supplications, remembrances or the names of Allah on pieces of paper or clothes and wearing them like necklaces or bracelets. As Muslims, our model examples are the Prophet and his companions.
The wearing of taweez (amulets with Quran inside, or numbers representing Quranic verses) is as illogical as someone going to a doctor with an illness, collecting and paying for his prescription, then rolling it up or folding it, and putting it an ornamented leather pouch and wearing it around his neck, or arm or waist.
Ruwaifi ibn Thabit said:”The Messenger of Allah PBUH) said: ‘O Ruwaifi, you may live for a long time after me, so tell the people that whoever ties up his beard, or twists it, or hangs an amulet, or cleans himself (after relieving himself) with animal dung or bones, Muhammad has nothing to do with him.'” (An-Nasa’i)
What should a Muslim do when afflicted with diseases?
When a Muslim suffers from a disease or being cast by an envious eye, he should recite ruqyah. It is reciting the Quran and saying supplications reported from the Prophet (PBUH) over the sick seeking hope in Allah to cure him. It has very good curing effects. The Prophet (PBUH) used to recite over the sick and so did the Companions of the Prophet.
The Prophet recited the following supplication as a ruqyah: Adhhib al-ba’s, Rabb al-nas, washfi, anta Al-Shafi, la shifa’a illa shifa’uka, shifa’an la yughadiru saqaman (Remove the harm, O Lord of mankind, and heal, You are the Healer. There is no healing but Your healing, a healing that leaves no disease behind). (At-Tirmidhi) This supplication is of great benefit.
Jibril (Gabriel, peace be upon him) performed the following ruqyah for the Prophet (peace be upon him): Bismillaah urqik, min kulli shay’in yu`dhik, wa min sharri kulli nafsin aw `aynin hasidin Allah yushfik, bismillaah urqik [In the Name of Allah, I perform Ruqyah (reciting Qur’an and saying supplications over the sick seeking healing) for you, from everything that may harm you; from the evil of any soul or envious eye. May Allah heal you. In the Name of Allah I perform Ruqyah for you]. (Muslim)
Allah Almighty knows best.