On one occasion Ven. Ānanda was staying in Kosambi, at Ghosita's monastery. There he addressed the monks, "Friends!"
"Yes, friend," the monks responded.
Ven. Ānanda said: "Friends, whoever -- monk or nun -- declares the attainment of arahant-ship in my presence, they all do it by means of one or another of four paths. Which four?
"There is the case where a monk has developed insight preceded by tranquility. As he develops insight preceded by tranquility, the path is born. He follows that path, develops it, pursues it. As he follows the path, developing it and pursuing it -- his fetters are abandoned, his obsessions destroyed.
"Then there is the case where a monk has developed tranquility preceded by insight. As he develops tranquility preceded by insight, the path is born. He follows that path, develops it, pursues it. As he follows the path, developing it and pursuing it -- his fetters are abandoned, his obsessions destroyed.
"Then there is the case where a monk has developed tranquility in tandem with insight. As he develops tranquility in tandem with insight, the path is born. He follows that path, develops it, pursues it. As he follows the path, developing it and pursuing it -- his fetters are abandoned, his obsessions destroyed.
"Then there is the case where a monk's mind has its restlessness concerning the Dhamma [the corruptions of insight] well under control. There comes a time when his mind grows steady inwardly, settles down, and becomes unified and concentrated. In him the path is born. He follows that path, develops it, pursues it. As he follows the path, developing it and pursuing it -- his fetters are abandoned, his obsessions destroyed.
"Whoever -- monk or nun -- declares the attainment of arahant-ship in my presence, they all do it by means of one or another of these four paths."