AN 9.36 (& MN 64):
"I tell you, the ending of the assavas depends on the first jhana.
' Thus it has been said. In reference to what was it said?..., there is the case where a monk... enters & remains in the first jhana: rapture & pleasure born of withdrawal, accompanied by directed application (of mind to a meditation object) & sustaining (the mind on the meditation object). He regards whatever phenomena there [in the jhana?] that are connected with form, feeling, perception, volitions, & consciousness, as inconstant, stressful, a disease, a cancer, an arrow, painful, an affliction, alien, a disintegration, an emptiness, not-self. He turns his mind away from those phenomena, and having done so, inclines his mind to the property of the deathlessness:
'This is the peaceful, this is the sublime, that is, the stilling of all volitions*, the relinquishing of all attachments, the ending of craving, dispassion, cessation, Nibbana.' [*See viewtopic.php?f=25&t=19351