Purification of Karmic Obscurations Sutra
The sūtra known as Purification of Karmic Obscurations (Skt. Karmāvaraṇaviśuddhi, Tib. ལས་ཀྱི་སྒྲིབ་པ་རྣམ་པར་དག་པ།, Wyl. las kyi sgrib pa rnam par dag pa) is found in the General Sūtra (mdo sde) section of the Tibetan Kangyur (Toh. 218).
In this sūtra a monk is brought before the buddha by the bodhisattva Mañjuśrī to confess his seduction by a prostitute. In response, the Buddha explains the lack of inherent nature of all phenomena and the luminous nature of mind, and then explains how bodhisattvas purify obscurations by generating an altruistic mind and realizing the empty nature of phenomena. The buddha asks Mañjuśrī about his own attainment of patient forbearance in seeing all phenomena as non-arising and recounts the tale of the monk Vīradatta, who, many eons in the past, had engaged in an affair with a girl and killed a jealous rival before feeling strong remorse and, once the empty, non-existent nature of all phenomena had been explained to him, generated bodhicitta and attained patient forbearance in seeing all phenomena as non-arising.