The second sutta of the Majjhimanikāya.
It was taught to the monks at Jetavana, and describes how the corruptions (āsavā) can be destroyed. Extirpation of the corruptions comes only to those who know and see things as they really are. Corruptions can be got rid of in many ways:
The sutta describes each methods in detail. M.i.6 ﬀ.