2.
The Discourse on Observing Mind-objects
118.
"Monks, without abandoning six qualities, one is incapable of dwelling internally in the body, etc.
externally in the body, etc.
internally and externally in the body, etc.
internally in feelings, etc.
externally in feelings, etc.
internally and externally in feelings, etc.
internally in mind, etc.
externally in mind, etc.
internally and externally in mind, etc.
internally in mental phenomena, etc.
externally in mental phenomena, etc.
dwelling observing mental phenomena internally and externally in mental phenomena.
Which six?
Delight in work, delight in talk, delight in sleep, delight in company, not guarding the doors of the sense faculties, immoderation in eating.
Monks, by abandoning these six qualities, one is capable of dwelling as one who observes mental phenomena internally and externally in mental phenomena."
The second.