ud1.10
“In that case, Bāhiya, you should train like this: ‘In the seen will be merely the seen; in the heard will be merely the heard; in the thought will be merely the thought; in the known will be merely the known.’ That’s how you should train. When you have trained in this way, you won’t be ‘by that’. When you’re not ‘by that’, you won’t be ‘in that’. When you’re not ‘in that’, you won’t be in this world or the world beyond or between the two. Just this is the end of suffering.”
Then, due to this brief Dhamma teaching of the Buddha, Bāhiya’s mind was right away freed from defilements by not grasping.
an4.200
And how does a mendicant not fume? When there is no concept ‘I am’, there are no concepts ‘I am such’, ‘I am thus’, ‘I am otherwise’; ‘I am fleeting’, ‘I am lasting’; ‘mine’, ‘such is mine’, ‘thus is mine’, ‘otherwise is mine’; ‘also mine’, ‘such is also mine’, ‘thus is also mine’, ‘otherwise is also mine’; ‘I will be’, ‘I will be such’, ‘I will be thus’, ‘I will be otherwise’. That’s how a mendicant doesn’t fume.
Notice the bold.
And how does a mendicant not draw close? It’s when a mendicant doesn’t regard form as self, self as having form, form in self, or self in form. They don’t regard feeling as self, self as having feeling, feeling in self, or self in feeling. They don’t regard perception as self, self as having perception, perception in self, or self in perception. They don’t regard choices as self, self as having choices, choices in self, or self in choices. They don’t regard consciousness as self, self as having consciousness, consciousness in self, or self in consciousness. That’s how a mendicant doesn’t draw close.
Notice also, if you regard mind as permanent and consciousness arises in the mind, and what is permanent can be taken as a self, then you’ve fallen into the view of consciousness in self.
sn35.121
“Is the ear … nose … tongue … body … mind permanent or impermanent?”
“Impermanent, sir.”
“But if it’s impermanent, is it suffering or happiness?”
“Suffering, sir.”
“But if it’s impermanent, suffering, and perishable, is it fit to be regarded thus: ‘This is mine, I am this, this is my self’?”
“No, sir.”
“Are ideas … mind consciousness … mind contact permanent or impermanent?”
“Impermanent, sir.” …
“Anything included in feeling, perception, choices, and consciousness that arises conditioned by mind contact: is that permanent or impermanent?”
“Impermanent, sir.”
“But if it’s impermanent, is it suffering or happiness?”
“Suffering, sir.”
“But if it’s impermanent, suffering, and perishable, is it fit to be regarded thus: ‘This is mine, I am this, this is my self’?”
“No, sir.”
Notice mind there (mano) is impermanent.