It is preached in the eighth fascicle of the Great Concentration and Insight: “As devils respectfully avoid the Hall of Indra, evil demons are unable to invade the place of practicing Buddhism indiscriminately when a powerful god protects it. When the lord of a castle is dauntless, his soldiers also are powerful. When the lord of a castle is a coward, his soldiers also are frightened. The mind is the lord of the body, which is always guarded by the two gods named Dōmyō and Dōshō. When the mind is steadfast, the body is guarded well. If the god of a body is like this, how much more so with the god of the place of practicing Buddhism!”
Interpreting this, the Annotations on the Great Concentration and Insight, fascicle 8, states: “The two gods of Dōmyō and Dōshō never cease in protecting people, but the stronger one’s mind is, the more powerful will the protection be;” and “even the gods who rest on the shoulders of people never stop protecting them, how much more so the god of the place of practicing Buddhism.” People are protected ever since their birth by the two gods of Dōshō-ten and Dōmyō-ten, who are called Kushō-jin in the Flower Garland Sūtra.
Dōjōjin Shugo-ji, Protective Deities for the Place of Practicing Buddhism, Writings of Nichiren Shōnin, Volume 6, Followers I, Pages 15-16