Anguttara Nikaya
An abbreviated version also occurs in at least two other sutras: the Upāli Sutta in the Anguttara Nikaya and the Mahātaṇhāsaṅkhaya Sutta in the Majjhima Nikaya.