Question: A man wrote only some Aayaat (Qur’aanic verses) on a piece of paper for a sick person and told him: “When you return home, hammer a nail into every word of these Aayaat as Alif-Laaam-Meeem. [These letters are one of the miracles of the Qur’aan and none but Allaah (Alone) knows their meanings.] This is the Book (the Qur’aan), whereof there is no doubt He pronounces some words upon the letter “A” (Alif) and then hammers it with a nail and so on. Then, he conceals this paper for ten or fifteen days. Is this a kind of Shirk (associating others with Allaah in His Divinity or worship)? Is this considered a kind of amulet? Is it permissible to do so?
Answer: It is not permissible to do this as it is one kind of amulets that the Prophet (peace be upon him) forbade… read more here.