Lotus Sutra
Chapter 26 of the Lotus Sutra includes a dialogue between the Buddha and a group of rakshasa daughters, who swear to uphold and protect the Lotus Sutra. They also teach magical dhāraṇīs to protect followers who also uphold the sutra.