When that mendicant has given up ignorance and given rise to knowledge, with the fading away of ignorance and the arising of knowledge they don’t grasp at sensual pleasures, views, precepts and observances, or theories of a self. Not grasping, they’re not anxious. Not being anxious, they personally become extinguished. They understand: ‘Rebirth is ended, the spiritual journey has been completed, what had to be done has been done, there is nothing further for this place.’” That is what the Buddha said. Satisfied, the mendicants approved what the Buddha said.
Middle Discourses 12 The Longer Discourse on the Lion’s Roar