
It also appears in the Shiva Purana in the chapter 1.2.10 (Shabda-Brahma Tanu) and in its Vidyeshvara samhita and in chapter 13 of the Vayaviya samhita of the Shiva Purana as 'Om Namaha Shivaya'.Tirumantiram, a scripture written in Tamil language, speaks of the meaning of the mantra.Whole Panchakshara Stotra is dedicated to this mantra.This mantra also appears in the Rudrashtadhyayi which is a part of the Shukla Yajurveda.Thus predates the use of Shiva as a proper name, in the original context being an address to Lord Rudra (later Shiva), where Shiva retains its original meaning as an adjective, meaning 'auspicious, benign, friendly', a euphemistic epithet of Rudra. This Mantra appears as 'Na' 'Ma' 'Śi' 'Vā' and 'Ya' in the Shri Rudram hymn which is a part of the Krishna Yajurveda.

TM Presence of mantra in different scriptures Thus is the five-lettered form of Shiva.”: Tirumantiram 941. The Tirumantiram (a scripture in Shaiva Siddhanta Shaivism) announces, “His feet are the letter Na. In the Shaiva Siddhanta Shaivism tradition the five letters also represents : Its total meaning is that 'universal consciousness is one'. In Siddha Shaivism and Shaiva Siddhanta Shaivism traditions, Namah Shivaya is considered as Pancha Bodha Tatva of Lord Shiva and his universal oneness of five elements: Namah Shivaya means 'O salutations to the auspicious one!', or “adoration to Lord Shiva' preceded by the devotional syllable 'Om'. In the Rudrashtadhyayi, the mantra appears in the 5th chapter (also known as Namakam) verse 41 as Namah shivaya ca shivataraya (Sanskrit: नमः शिवाय च शिवतराय च). This mantra also appears in the Rudrashtadhyayi which is a part of the Shukla Yajurveda. It means 'Salutations unto Śiva the auspicious one, unto Śivatara the one than whom none more auspicious can exist'. Om Namah Shivaya mantra appears without OM in eighth hymn of Namakam(TS 4.5.8.1) as Namah shivaya ca shivataraya (Sanskrit: नमः शिवाय च शिवतराय च IAST: Namaḥ śivāya ca śivatarāya ca). Name of both chapters are Namakam (chapter five) and Chamakam (chapter seven) respectively. Each chapter consist of eleven anuvaka or hymns.

Shri Rudram hymn is taken from two chapters in fourth book of Taittiriya Samhita (TS 4.5, 4.7) of Krishna Yajurveda.

This mantra is present in the Shri Rudram hymn which is part of the Krishna Yajurveda.
