The way The "goal" Background Chinese texts Classical Post-classical Contemporary Zen in Japan Seon in Korea Thiền in Vietnam Western Zen The Song of the Precious Mirror Samadhi (Chinese: 寶鏡三昧歌; pinyin: Bǎojìng sānmèi gē; Wade–Giles: Pao-ching San-mei-ke; Japanese: Hōkyō Zammai; also translated as Song of the Jeweled Mirror Samadhi and Sacred Mirror Samadhi) is a Zen poem in Classical Chinese that appeared during the Song dynasty.
The work is often attributed to Dongshan Liangjie (Japanese: Tōzan Ryōkai), the co-founder of the Caodong/Sōtō branch of Zen Buddhism, although modern research suggests this is unlikely.
The poem is first mentioned in Juefan Huihong's biographical compilation of 1119, the Chanlin sengbao zhuan (Chronicle of the Sangha Treasure in the Groves of Chan), written over 200 years after Dongshan Liangjie's death.
Huihong further speculates that Yunyan's teacher, Yaoshan Weiyan, probably entrusted it to him in turn.
Huihong relates that he came upon the poem in 1108, when it was given to a scholar Zhu Yan by a monk, whom he does not identify.