Mahākhandhaka

Vinayapiṭaka · Mahāvagga (1) · Vol. 4 · Section 2

[2] Then the Blessed One, during the middle watch of the night, attended to dependent origination (paṭiccasamuppāda) in forward and reverse order: "With ignorance (avijjā) as condition, volitional formations (saṅkhārā) [come to be]; with volitional formations as condition, consciousness (viññāṇa); with consciousness as condition, name-and-form (nāmarūpa); with name-and-form as condition, the six sense bases (saḷāyatana); with the six sense bases as condition, contact (phassa); with contact as condition, feeling (vedanā); with feeling as condition, craving (taṇhā); with craving as condition, clinging (upādāna); with clinging as condition, existence (bhava); with existence as condition, birth (jāti); with birth as condition, aging and death (jarāmaraṇa), sorrow, lamentation, pain, grief, and despair come to be. Such is the origin of this whole mass of suffering (dukkha). "But with the remainderless fading away and cessation of that very ignorance comes the cessation of volitional formations; with the cessation of volitional formations, the cessation of consciousness; with the cessation of consciousness, the cessation of name-and-form; with the cessation of name-and-form, the cessation of the six sense bases; with the cessation of the six sense bases, the cessation of contact; with the cessation of contact, the cessation of feeling; with the cessation of feeling, the cessation of craving; with the cessation of craving, the cessation of clinging; with the cessation of clinging, the cessation of existence; with the cessation of existence, the cessation of birth; with the cessation of birth, aging and death, sorrow, lamentation, pain, grief, and despair cease. Such is the cessation of this whole mass of suffering." Then the Blessed One, having understood this matter, on that occasion uttered this inspired utterance (udāna): "When indeed dhammas become manifest to the ardent, meditating brahmin, then all his doubts vanish, since he has understood the destruction of conditions."

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

This passage also appears in 1 other place