Story
The story behind the Om Namah Shivaya
Adi Shankaracharya composed the Shiva Panchakshara Stotram, five verses that each begin with one syllable of the mantra: Nagendraharaya, Mandakini, Shivaya Gauri, Vasishtha and Yaksha-svarupaya. Singing the stotram is itself a way of chanting the panchakshari.
Tamil Shaiva saints such as Tirujnana Sambandar sang of "na-ma-shi-va-ya" as the mantra that carried them through every danger, and the five syllables are still carved and painted in Shiva temples across South India.