The Ram Rahasya Upnishad is a Sanskrit text that is part of the Atharvaveda and is considered an authoritative source for worshiping Lord Ram. The Ram Rahasya Upnishad is largely recited by Hanuman, even Lord Shiva chants this mantra. The concluding part of the Ram Rahasya Upnishad explains the rules for chanting the Ram Mantras.
Listen to this episode of "Bhagwan Ram ka Durlabh Mantra (Ram Rahasya Upnishad ) " of the podcast Upnishad Simplified by Dr. Shisham Aggarwal.
For more such information check out the book - https://www.amazon.in/s?i=stripbooks&rh=p_27%3ADr.+Shisham+Bansal&ref=dp_byline_sr_book_1