In the Gemara, the shamir (Hebrew: שׇׁמִיר; Arabic: حجر السامور hajar as-samur) is a worm or a substance that had the power to cut through or disintegrate stone, iron and diamond. King Solomon is said to have used it in the building of the First Temple in Jerusalem in the place of cutting tools. For the building of the Temple, which promoted peace, it was inappropriate to use tools that could also cause war and bloodshed.
Referenced throughout the Talmud and the Midrashim, the Shamir was reputed to have existed in the time of Moses, as one of the ten wonders created on the eve of the first Sabbath, just before YHWH finished creation. Moses reputedly used the Shamir to engrave the Hoshen (Priestly breastplate) stones that were inserted into the breastplate. King Solomon, aware of the existence of the Shamir, but unaware of its location, commissioned a search that turned up a "grain of Shamir the size of a barley-corn".
Solomon's artisans reputedly used the Shamir in the construction of Solomon's Temple. The material to be worked, whether stone, wood or metal, was affected by being "shown to the Shamir." Following this line of logic (anything that can be 'shown' something must have eyes to see), early Rabbinical scholars described the Shamir almost as a living being. Other early sources, however, describe it as a green stone. For storage, the Shamir was meant to have been always wrapped in wool and stored in a container made of lead; any other vessel would burst and disintegrate under the Shamir's gaze. The Shamir was said to have been either lost or had lost its potency (along with the "dripping of the honeycomb") by the time of the destruction of the First Temple at the hands of Nebuchadnezzar in 586 B.C.
The shamir worm was also used by King Solomon to engrave gemstones. Apparently he also used the blood of the shamir worm to make carved jewels with a mystical seal or design. According to an interview with Dr. George Frederick Kunz, an expert in gemstone and jewelry lore, this led to the belief that gemstones so engraved would have magical virtues, and they often also ended up with their own powers or guardian angel associated with either the gem, or the specifically engraved gemstones.
And when We decreed death for him, nothing showed his death to them save a creeping creature of the earth which gnawed away his staff. And when he fell the jinn saw clearly how, if they had known the Unseen, they would not have continued in despised toil.
According to commentators such as Ibn Abbas, when Solomon died his body remained leaning on his staff for a long time, nearly a year, until "a creature of the earth, which was a kind of worm," gnawed through the stick weakening it and the body fell to the ground. It was then that the jinn knew that he had died a long time before and until then they were working hard thinking they were being supervised by him. It also became clear to humans who divined and engaged in occult activities or spirit-consulting, or worshiped the jinn that they do not possess knowledge of the occult.
In popular culture
- Hersh Goldwurm (1990). Talmud Bavli: the Gemara : the classic Vilna edition Volume 3, Part 6, Book 2.
The Gemara returns to the story of how Solomon acquired the shamir... [Solomon's servants] searched until they found the nest of a wild cock that had young,[...]
- Pirkei Avot 5:9
- Ausubel, Nathan (1948). A Treasury of Jewish Folklore. Crown Publishers. pp. 449, 594. ISBN 0-517-50293-3.
- W. B. L. B. (1901–1906). "Shamir". In Singer, Isidore; et al. (eds.). The Jewish Encyclopedia. S. New York: Funk & Wagnalls.
- Shamah, Rabbi Moshe (2009). "Cutting Stones for the Temple, the Rambam and the Shamir" (PDF). SEPHARDIC INSTITUTE. p. 3. Retrieved 17 February 2010.
- Louis Ginzberg (2007). The Legends of the Jews: Volume 4. p. 77.
Asmodeus told Solomon that the shamir was given by God to the Angel of the Sea, and that Angel entrusted none with the shamir except the moor-hen, which had taken an oath to watch the shamir carefully.
- “Gardens in Midair.” The Washington Post. August 4, 1895, page 20. 
- Quran 34:14
- Ibn Kathir. "The Death of Sulayman". www.qtafsir.com. Retrieved 13 February 2019.
- "The Worm Shamir"