Kāmaguṇasutta
“Pubbeva me, bhikkhave, sambodhā anabhisambuddhassa bodhisattasseva sato etadahosi: ‘yeme pañca kāmaguṇā cetaso samphuṭṭhapubbā atītā niruddhā vipariṇatā, tatra me cittaṁ bahulaṁ gacchamānaṁ gaccheyya paccuppannesu vā appaṁ vā anāgatesu’. Tassa mayhaṁ, bhikkhave, etadahosi: ‘yeme pañca kāmaguṇā cetaso samphuṭṭhapubbā atītā niruddhā vipariṇatā, tatra me attarūpena appamādo sati cetaso ārakkho karaṇīyo’. Tasmātiha, bhikkhave, tumhākampi ye te pañca kāmaguṇā cetaso samphuṭṭhapubbā atītā niruddhā vipariṇatā, tatra vo cittaṁ bahulaṁ gacchamānaṁ gaccheyya paccuppannesu vā appaṁ vā anāgatesu. Tasmātiha, bhikkhave, tumhākampi ye te pañca kāmaguṇā cetaso samphuṭṭhapubbā atītā niruddhā vipariṇatā, tatra vo attarūpehi appamādo sati cetaso ārakkho karaṇīyo. Tasmātiha, bhikkhave, se āyatane veditabbe yattha cakkhu ca nirujjhati, rūpasaññā ca nirujjhati, se āyatane veditabbe …pe… yattha jivhā ca nirujjhati, rasasaññā ca nirujjhati, se āyatane veditabbe …pe… yattha mano ca nirujjhati, dhammasaññā ca nirujjhati, se āyatane veditabbe”ti. Idaṁ vatvā bhagavā uṭṭhāyāsanā vihāraṁ pāvisi.
The Kinds of Sensual Stimulation
“Mendicants, before my awakening—when I was still unawakened but intent on awakening—I thought: ‘My mind might often stray toward the five kinds of sensual stimulation that I formerly experienced—which have passed, ceased, and perished—or to those in the present, or in the future a little.’ Then it occurred to me: ‘In my own way I should practice diligence, mindfulness, and protecting the mind regarding the five kinds of sensual stimulation that I formerly experienced—which have passed, ceased, and perished.’ So, mendicants, your minds might also often stray toward the five kinds of sensual stimulation that you formerly experienced—which have passed, ceased, and perished—or to those in the present, or in the future a little. So in your own way you should practice diligence, mindfulness, and protecting the mind regarding the five kinds of sensual stimulation that you formerly experienced—which have passed, ceased, and perished. So you should understand that dimension where the eye ceases and perception of sights fades away. You should understand that dimension where the ear … nose … tongue … body … mind ceases and perception of ideas fades away.” When he had spoken, the Blessed One rose from his seat and entered his dwelling.