In Japanese mythology and folklore, Somin Shà Ârai (èÂÂæ°Âå°ÂæÂÂ¥, kyà «jitai: èÂÂæ°Âå°Âä¾Â; also written as èÂÂæ°Âå°ÂèÂÂ) was a poor man who gave food and shelter to a certain god in the guise of a traveler who was looking for a place to stay. As a reward, the god provided Somin Shà Ârai's family a means to save themselves from an oncoming pestilence that eventually claimed the lives of those who had turned him away earlier. The story of Somin Shà Ârai is the basis for the Shinto custom of walking through a large ring of twisted miscanthus reeds during the beginning of summer at many Shinto shrines across Japan. Talismans bearing Somin Shà Ârai's name are also popularly held to ward off disease and misfortune.
The earliest version of the Somin Shà Ârai legend is found in the imperially commissioned gazetteer (Fudoki) of Bingo Province (modern eastern Hiroshima Prefecture) compiled during the Nara period, surviving in an extract quoted by medieval scholar and Shinto priest Urabe Kanekata in the Shaku Nihongi.
According to the story, a god from the northern sea named, Mutà Â-no-Kami (æÂ¦å¡Âç¥Â), who was embarking on a long journey to court the daughter of his counterpart, the god of the southern sea, asked for a place to stay for the night from two brothers. While the wealthy, younger brother refused the deity any hospitality, the elder brother, named Somin Shà Ârai, though extremely poor, took him in as a guest and shared all that he had: a bed of millet-straw and a simple meal of cooked millet seeds. Years later, Mutà  (who had since married the southern sea god's daughter and had eight children with her) returned to Somin Shà Ârai's old house and gave to Somin Shà Ârai's daughter a wreath of entwined miscanthus reeds (a Shimenawa wreath) as a reward for the hospitality shown to him by her late father, telling her to wear it around her waist from then-on. At that same night, the god exterminated all the inhabitants of the area, sparing only Somin Shà Ârai's daughter. Mutà  then revealed himself to have actually been the god, Susanoo, and promised to her that, in the future, all those who would wear miscanthus wreaths around their waists while declaring themselves to be Somin Shà Ârai's descendants, in times of epidemics, would remain unharmed.
In some later versions of the legend, the rich younger brother is given the name Kotan Shà Ârai (å·¨æÂ¦å°ÂæÂÂ¥), while the god who stayed in Somin Shà Ârai's house is identified, instead of Susanoo, as Gozu Tennà  (çÂÂé Â天ç 'Ox-Headed Heavenly King'), a pestilence deity conflated with both Mutà  and Susanoo (though one version instead identifies Gozu Tennà  as Mutà Â's son). In the version of the story found in the ', an Onmyà Âdà  text on divination attributed to Abe no Seimei, Kotan Shà Ârai (portrayed here as the king of an Indian kingdom), who was slain by Gozu Tennà  as punishment for his lack of generosity, is identified with the evil deity, Konjin. In other variants, the divine traveller gives Somin Shà Ârai's family a talisman with the inscription "[I am] the descendant of Somin Shà Ârai" (èÂÂæ°Âå°ÂæÂ¥ä¹ÂÃ¥ÂÂå«ä¹Â, Somin Shà Ârai no shison nari) as protection against pestilence.
The legend forms the basis for the chi-no-wa kuguri (è ã®輪ãÂÂãÂÂãÂÂ) ritual performed in many Shinto shrines mainly during the annual Summer Purification Ritual (å¤Âè¶Âã®祠Nagoshi no Harae or å¤Âè¶Âã®大祠Nagoshi no à Âharae) held at the end of June. This rite involves passing through a large miscanthus hoop (è ã®輪 chi-no-wa) set up at the shrine's entrance or within its precincts, usually while reciting one or more seasonal waka such as the one below followed by a double recitation of Somin Shà Ârai's name. Walking through this ring is believed to cleanse sins and other defilements (kegare) and guard against misfortune.
Somin Shà Ârai is venerated in a few shrines as a deity against disease, such as in Eki Shrine (ç«ç¥Â社 Eki-jinja, lit. 'Plague Shrine'), an auxiliary shrine within the precincts of Yasaka Shrine in the Gion District of Kyoto.
The story is also the inspiration for the Somin Festival (èÂÂæ°Â祠Somin-sai) held in various places within Iwate Prefecture, the most famous of which being the one held every February at in à Âshà « City. In this festival, hundreds of half-naked men compete to grab the 'Somin bag' (èÂÂæ°Â袠Somin-bukuro), which is said to bring good fortune.
Various types of amulets (omamori) bearing Somin Shà Ârai's name is distributed by a number of Shinto shrines and Buddhist temples across Japan.
In Kyoto, a talisman resembling a chimaki (a rice dumpling wrapped in bamboo leaves) on which is attached a slip of paper with the words "The descendant(s) of Somin Shà Ârai" (èÂÂæ°Âå°ÂæÂ¥ä¹ÂÃ¥ÂÂå«ä¹Â, Somin Shà Ârai no shison nari) is traditionally hung on doorways to ward off misfortune. A similar custom, involving a shimenawa with a wooden plaque on which is written "The house of Somin Shà Ârai's descendants" (èÂÂæ°Âå°ÂæÂ¥åÂÂå«家éÂÂ, Somin Shà Ârai shison kamon), is practiced in the Ise and Shima areas of Mie Prefecture.
In Ueda, Nagano Prefecture, hexagonal wooden charms inscribed with the words "Wealthy [and] prosperous [are] Somin Shà Ârai's descendant(s)" (大ç¦Âé·è èÂÂæ°Âå°ÂæÂ¥åÂÂå«人ä¹Â, Daifuku chà Âja Somin Shà Ârai shison no hito nari) traditionally handmade by members of the local Somin Confraternity (èÂÂæ°Â謠Somin-kà Â) are distributed by Shinano Kokubun-ji temple during the Yà Âkadà  Festival (å «æÂ¥å Âç¸ÂæÂÂ¥ Yà Âkadà  Ennichi) held every 7th-8 January.