Trapping or cooling molecules has rallied a long-standing effort for its impact in exploring new frontiers in physics and in finding new phase of matter for quantum technologies. Here we demonstrate a system for light-trapping molecules and stimulated Raman scattering based on optically self-nanostructured molecular hydrogen in hollow-core photonic crystal fibre. A lattice is formed by a periodic and ultra-deep potential caused by a spatially modulated Raman saturation, where Raman-active molecules are strongly localized in a one-dimensional array of nanometre-wide sections. Only these trapped molecules participate in stimulated Raman scattering, generating high-power forward and backward Stokes continuous-wave laser radiation in the Lamb-Dicke regime with sub-Doppler emission spectrum. The spectrum exhibits a central line with a sub-recoil linewidth as low as ∼14 kHz, more than five orders of magnitude narrower than conventional-Raman pressure-broadened linewidth, and sidebands comprising Mollow triplet, motional sidebands and four-wave mixing.