Purisasutta

Suttapiṭaka · Saṁyuttanikāya · Sagāthāvaggasaṁyutta · Vol. 15 · Section 328

[328] At Sāvatthī, in the park. … Then King Pasenadi of Kosala approached the Blessed One; having approached, he paid homage to the Blessed One and sat down to one side. Sitting to one side, King Pasenadi of Kosala said this to the Blessed One: "Venerable sir, how many things (dhammā), when they arise within a person, arise for his harm, for his suffering (dukkha), and for his dwelling in discomfort?"

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

This passage also appears in 1 other place