I have heard that on one occasion the Blessed One was staying near Rajagaha in the Bamboo Grove, the Squirrels' Sanctuary. Then Visakha the lay follower went to Dhammadinna the nun and, on arrival, having bowed down to her, sat to one side. As he was sitting there he said to her, "'Self-identification, self-identification,' it is said, lady. Which self-identification is described by the Blessed One?"
"There are these five clinging-aggregates, friend Visakha: form as a clinging-aggregate, feeling as a clinging-aggregate, perception as a clinging-aggregate, fabrications as a clinging-aggregate, consciousness as a clinging-aggregate. These five clinging-aggregates are the self-identification described by the Blessed One."
Saying, "Yes, lady," Visakha the lay follower delighted & rejoiced in what Dhammadinna the nun had said. Then he asked her a further question: "'The origination of self-identification, the origination of self-identification,' it is said, lady. Which origination of self-identification is described by the Blessed One?"
"The craving that makes for further becoming — accompanied by passion & delight, relishing now here & now there — i.e., craving for sensual pleasure, craving for becoming, craving for non-becoming: This, friend Visakha, is the origination of self-identification described by the Blessed One."
"'The cessation of self-identification, the cessation of self-identification,' it is said, lady. Which cessation of self-identification is described by the Blessed One?"
"The remainderless fading & cessation, renunciation, relinquishment, release, & letting go of that very craving: This, friend Visakha, is the cessation of self-identification described by the Blessed One."
"'The way of practice leading to the cessation of self-identification, the way of practice leading to the cessation of self-identification,' it is said, lady. Which way of practice leading to the cessation of self-identification is described by the Blessed One?"
"Precisely this noble eightfold path — right view, right resolve, right speech, right action, right livelihood, right effort, right mindfulness, right concentration: This, friend Visakha, is the way of practice leading to the cessation of self-identification described by the Blessed One."
"Is it the case, lady, that clinging is the same thing as the five clinging-aggregates or is it something separate?"
"Friend Visakha, neither is clinging the same thing as the five clinging-aggregates, nor is it something separate. Whatever desire & passion there is with regard to the five clinging-aggregates, that is the clinging there."
"But, lady, how does self-identification come about?"
"There is the case, friend Visakha, where an uninstructed, run-of-the-mill person — who has no regard for noble ones, is not well-versed or disciplined in their Dhamma; who has no regard for men of integrity, is not well-versed or disciplined in their Dhamma — assumes form (the body) to be the self, or the self as possessing form, or form as in the self, or the self as in form.
"He assumes feeling to be the self...
"He assumes perception to be the self...
"He assumes (mental) fabrications to be the self...
"He assumes consciousness to be the self, or the self as possessing consciousness, or consciousness as in the self, or the self as in consciousness. This is how self-identification comes about."
"But, lady, how does self-identification not come about?"
"There is the case where a well-instructed disciple of the noble ones — who has regard for noble ones, is well-versed & disciplined in their Dhamma; who has regard for men of integrity, is well-versed & disciplined in their Dhamma — does not assume form to be the self, or the self as possessing form, or form as in the self, or the self as in form.
"He does not assume feeling to be the self...
"He does not assume perception to be the self...
"He does not assume fabrications to be the self...
"He does not assume consciousness to be the self, or the self as possessing consciousness, or consciousness as in the self, or the self as in consciousness. This is how self-identification does not come about."
"Now, again, lady, what is the noble eightfold path?"
"This is the noble eightfold path, friend Visakha: right view, right resolve, right speech, right action, right livelihood, right effort, right mindfulness, right concentration."
"Is the noble eightfold path fabricated or unfabricated?"
"The noble eightfold path is fabricated."
"And are the three aggregates [of virtue, concentration, & discernment] included under the noble eightfold path, lady, or is the noble eightfold path included under the three aggregates?"
"The three aggregates are not included under the noble eightfold path, friend Visakha, but the noble eightfold path is included under the three aggregates. Right speech, right action, & right livelihood come under the aggregate of virtue. Right effort, right mindfulness, & right concentration come under the aggregate of concentration. Right view & right resolve come under the aggregate of discernment."
"Now what is concentration, lady, what qualities are its themes, what qualities are its requisites, and what is its development?"
"Singleness of mind is concentration, friend Visakha; the four frames of reference are its themes; the four right exertions are its requisites; and any cultivation, development, & pursuit of these qualities is its development."
"Now, lady, what are fabrications?"
"These three fabrications, friend Visakha: bodily fabrications, verbal fabrications, & mental fabrications."
"But what are bodily fabrications? What are verbal fabrications? What are mental fabrications?"
"In-&-out breaths are bodily fabrications. Directed thought & evaluation are verbal fabrications. Perceptions & feelings are mental fabrications."
"But why are in-&-out breaths bodily fabrications? Why are directed thought & evaluation verbal fabrications? Why are perceptions & feelings mental fabrications?"
"In-&-out breaths are bodily; these are things tied up with the body. That's why in-&-out breaths are bodily fabrications. Having first directed one's thoughts and made an evaluation, one then breaks out into speech. That's why directed thought & evaluation are verbal fabrications. Perceptions & feelings are mental; these are things tied up with the mind. That's why perceptions & feelings are mental fabrications."
"Now, lady, how does the attainment of the cessation of perception & feeling come about?"
"The thought does not occur to a monk as he is attaining the cessation of perception & feeling that 'I am about to attain the cessation of perception & feeling' or that 'I am attaining the cessation of perception & feeling' or that 'I have attained the cessation of perception & feeling.' Instead, the way his mind has previously been developed leads him to that state."
"But when a monk is attaining the cessation of perception & feeling, which things cease first: bodily fabrications, verbal fabrications, or mental fabrications?"
"When a monk is attaining the cessation of perception & feeling, friend Visakha, verbal fabrications cease first, then bodily fabrications, then mental fabrications."[1]
"Now, lady, how does emergence from the cessation of perception & feeling come about?"
"The thought does not occur to a monk as he is emerging from the cessation of perception & feeling that 'I am about to emerge from the cessation of perception & feeling' or that 'I am emerging from the cessation of perception & feeling' or that 'I have emerged from the cessation of perception & feeling.' Instead, the way his mind has previously been developed leads him to that state."
"But when a monk is emerging from the cessation of perception & feeling, which things arise first: bodily fabrications, verbal fabrications, or mental fabrications?"
"When a monk is emerging from the cessation of perception & feeling, friend Visakha, mental fabrications arise first, then bodily fabrications, then verbal fabrications."
"When a monk has emerged from the cessation of perception & feeling, lady, how many contacts make contact?"
"When a monk has emerged from the cessation of perception & feeling, friend Visakha, three contacts make contact: contact with emptiness, contact with the signless, & contact with the undirected."[2]
"When a monk has emerged from the cessation of perception & feeling, lady, to what does his mind lean, to what does it tend, to what does it incline?"
"When a monk has emerged from the cessation of perception & feeling, friend Visakha, his mind leans to seclusion, tends to seclusion, inclines to seclusion."[3]
https://www.accesstoinsight.org/tipitak ... .than.html