Using talismans is shirk
that the Messenger of Allah ﷺ received a group of men and he accepted the pledge from nine of them, while he refrained from one. They said, “O Messenger of Allah, you accepted the pledge of nine men and left this one out?” The Prophet said, “There is an amulet upon him.” The man took it in his hand and cut it, then the Prophet accepted his pledge and he said, “Whoever hangs an amulet around his neck has committed an act of shirk (associating partners to Allah).”
أَنَّ رَسُولَ اللهِ ﷺ أَقْبَلَ إِلَيْهِ رَهْطٌ فَبَايَعَ تِسْعَةً وَأَمْسَكَ عَنْ وَاحِدٍ فَقَالُوا: يَا رَسُولَ اللهِ، بَايَعْتَ تِسْعَةً وَتَرَكْتَ هَذَا؟ قَالَ: «إِنَّ عَلَيْهِ تَمِيمَةً۔» فَأَدْخَلَ يَدَهُ فَقَطَعَهَا فَبَايَعَهُ وَقَالَ: «مَنْ عَلَّقَ تَمِيمَةً فَقَدْ أَشْرَكَ۔»