Dasuttarasutta

Suttapiṭaka · Dīghanikāya · Pāthikavagga · Vol. 11 · Section 453

[453] What eight things (dhammā) are to be realized? The eight liberations (vimokkha): Possessing form, one sees forms — this is the first liberation. Percipient of the formless (arūpasaññī) internally, one sees forms externally — this is the second liberation. One is resolved only upon the beautiful — this is the third liberation. With the complete transcending of perceptions of form (rūpasaññā), with the passing away of perceptions of sensory impingement (paṭighasaññā), with non-attention to perceptions of diversity (nānattasaññā), [aware that] "space is infinite," one enters and dwells in the base of the infinity of space (ākāsānañcāyatana) — this is the fourth liberation. Having completely transcended the base of the infinity of space, [aware that] "consciousness is infinite," one enters and dwells in the base of the infinity of consciousness (viññāṇañcāyatana) — this is the fifth liberation. Having completely transcended the base of the infinity of consciousness, [aware that] "there is nothing," one enters and dwells in the base of nothingness (ākiñcaññāyatana) — this is the sixth liberation. Having completely transcended the base of nothingness, one enters and dwells in the base of neither-perception-nor-non-perception (nevasaññānāsaññāyatana) — this is the seventh liberation. Having completely transcended the base of neither-perception-nor-non-perception, one enters and dwells in the cessation of perception and feeling (saññāvedayitanirodha) — this is the eighth liberation. These eight things are to be realized. Thus these eighty things — true, real, so, not unreal, not otherwise — have been rightly and fully awakened to by the Tathāgata.

English translation from the Pali (Siam Raṭṭha edition) — under review, not for citation.

This passage also appears in 2 other places