Nidānasutta

Suttapiṭaka · Saṁyuttanikāya · Nidānavaggasaṁyutta · Vol. 16 · Section 223

[223] "Bhikkhus, suppose there were a great tree. Then a man might come, taking a spade and a basket … no more subject to arising in the future. In just the same way, bhikkhus, for one who dwells contemplating danger (ādīnava) in things that are conducive to the fetters (saññojaniyā dhammā), there is no descent (avakkanti) of consciousness. With the cessation of consciousness comes the cessation of name-and-form (nāmarūpa) … Such is the cessation of this entire mass of suffering (dukkha)." The ninth [sutta].

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 1 other place