Saṁyutta Nikāya 35.165 16.

Micchādiṭṭhipahāna Sutta

Nandikkhayavagga Micchādiṭṭhipahānasutta Atha kho aññataro bhikkhu yena bhagavā tenupasaṅkami …pe…

Thus have I heard. On one occasion, a certain disciple approached the Blessed One, and after approaching, he sat down to one side.

ekamantaṁ nisinno so bhikkhu bhagavantaṁ etadavoca: “kathaṁ nu kho, bhante, jānato kathaṁ passato micchādiṭṭhi pahīyatī”ti?

Sitting there, the disciple said to the Blessed One, Venerable sir, how does one know and see so that wrong view is abandoned?

“Cakkhuṁ kho, bhikkhu, aniccato jānato passato micchādiṭṭhi pahīyati.

The Blessed One replied when one knows and sees the eye as impermanent, wrong view is abandoned.

Rūpe aniccato jānato passato micchādiṭṭhi pahīyati.

When one knows and sees forms as impermanent, wrong view is abandoned.

Cakkhuviññāṇaṁ aniccato jānato passato micchādiṭṭhi pahīyati.

When one knows and sees eye-consciousness as impermanent, wrong view is abandoned.

Cakkhusamphassaṁ aniccato jānato passato micchādiṭṭhi pahīyati …pe…

When one knows and sees eye-contact as impermanent, wrong view is abandoned.

yampidaṁ manosamphassapaccayā uppajjati vedayitaṁ sukhaṁ vā dukkhaṁ vā adukkhamasukhaṁ vā tampi aniccato jānato passato micchādiṭṭhi pahīyati.

Whatever feeling arises with mind-contact as condition: be it pleasant, painful, or neither-painful-nor-pleasant: that too, when known and seen as impermanent, leads to the abandonment of wrong view.

Evaṁ kho, bhikkhu, jānato evaṁ passato micchādiṭṭhi pahīyatī”ti. Dasamaṁ.

Thus by knowing and seeing in this way, wrong view is abandoned.