At Sāvatthī. Then a mendicant went up to the Buddha … and asked him, “Sir, they speak of the ‘awakening factors’. How are the awakening factors defined?” “Mendicant, they’re called awakening factors because they lead to awakening. A mendicant develops the awakening factors of mindfulness, investigation of principles, energy, rapture, tranquility, immersion, and equanimity, which rely on seclusion, fading away, and cessation, and ripen as letting go. As they develop the seven awakening factors, their mind is freed from the defilements of sensuality, desire to be reborn, and ignorance. When they’re freed, they know they’re freed. 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.’ They’re called awakening factors because they lead to awakening.”
Linked Discourses 46.6 1. Mountains Kuṇḍaliya
At one time the Buddha was staying near Sāketa in the deer park at the Añjana Wood. Then the wanderer Kuṇḍaliya went up to the Buddha, and exchanged greetings with him. When the greetings and polite conversation were over, he sat down to one side and said to the Buddha: “Worthy Gotama, I like to hang around the monasteries and visit the assemblies. When I’ve finished breakfast, it’s my habit to wander from monastery to monastery, from park to park. There I see some ascetics and brahmins speaking for the sake of winning debates and finding fault. But what benefit does the worthy Gotama live for?” “The benefit the Realized One lives for, Kuṇḍaliya, is the fruit of knowledge and freedom.”