Wikipedia
Moksopaya
The Mokṣopāya or Mokṣopāyaśāstra is a Sanskrit philosophical text on salvation for non-ascetics (mokṣa-upāya: 'means to liberation'), written on the Pradyumna hill in Śrīnagar in the 10th century AD. It has the form of a public sermon and claims human authorship and contains about 30,000 śloka's (making it longer than the Rāmāyaṇa). The main part of the text forms a dialogue between Vasiṣṭha and Rāma, interchanged with numerous short stories and anecdotes to illustrate the content. This text was later (11th to the 14th century AD) expanded and vedanticized, which resulted in the Yogavāsiṣṭha.