At one time the Buddha was staying near Vesālī, at the Great Wood, in the hall with the peaked roof. Then in the late afternoon, the Buddha came out of retreat and went to the infirmary, where he saw a certain mendicant who was weak and sick. He sat down on the seat spread out, and addressed the mendicants:
“Mendicants, if a weak and sick mendicant does not neglect five things, it can be expected that they will soon realize the undefiled freedom of heart and freedom by wisdom, and live having realized it with their own insight in this very life due to the ending of defilements.
What five? It’s when a mendicant meditates observing the ugliness of the body, perceives the repulsiveness of food, perceives dissatisfaction with the whole world, observes the impermanence of all conditions, and has well established the perception of their own death. If a weak and sick mendicant does not neglect these five things, it can be expected that they will soon realize the undefiled freedom of heart and freedom by wisdom, and live having realized it with their own insight in this very life due to the ending of defilements.”
Numbered Discourses 5.122 13. Sick Mindfulness Well Established
“Mendicants, any monk or nun who develops and cultivates five qualities can expect one of two results: enlightenment in this very life, or if there’s residue left behind, non-return.
What five? It’s when a mendicant has well established mindfulness inside themselves in order to understand the arising and passing away of phenomena, meditates observing the ugliness of the body, perceives the repulsiveness of food, perceives dissatisfaction with the whole world, and observes the impermanence of all conditions. Any monk or nun who develops and cultivates these five qualities can expect one of two results: enlightenment in this very life, or if there’s residue left behind, non-return.”
Numbered Discourses 5.123 13. Sick A Carer (1st)