At Savatthi. “Bhikkhus, the instructed noble disciple understands as it really is the origin and the passing away, the gratification, the danger, and the escape in the case of form, feeling, perception, volitional formations, and consciousness.”
SN22.75: Dutiyasamudayasutta
Dutiyasamudayasutta: Origin (2) - translated by Bhikkhu Bodhi
Translated by Bhikkhu Bodhi. Source text via SuttaCentral.