"Certainly, Master Ananda, the Bamboo Grove is delightful, quiet, free of noise, with an air of isolation, remote from human beings, & appropriate for retreat because of venerable ones who are endowed with mental absorption (jhana), who make mental absorption their habit. You venerable ones are both endowed with mental absorption & make mental absorption your habit.
"Once, Ven. Ananda, Master Gotama was staying near Vesali in the Peaked Roofed Pavilion in the Great Wood. I went to him at the Peaked Roofed Pavilion in the Great Wood, and there he spoke in a variety of ways on mental absorption. Master Gotama was both endowed with mental absorption & made mental absorption his habit. In fact, he praised mental absorption of every sort."
"It wasn't the case, brahman, that the Blessed One praised mental absorption of every sort, nor did he criticize mental absorption of every sort. And what sort of mental absorption did he not praise? There is the case where a certain person dwells with his awareness overcome by sensual passion, seized with sensual passion. He does not discern the escape, as it actually is present, from sensual passion once it has arisen. Making that sensual passion the focal point, he absorbs himself with it, besorbs, resorbs, & supersorbs himself with it.
"He dwells with his awareness overcome by ill will...
"He dwells with his awareness overcome by sloth & drowsiness...
"He dwells with his awareness overcome by restlessness & anxiety...
"He dwells with his awareness overcome by uncertainty, seized with uncertainty. He does not discern the escape, as it actually is present, from uncertainty once it has arisen. Making that uncertainty the focal point, he absorbs himself with it, besorbs, resorbs, & supersorbs himself with it. This is the sort of mental absorption that the Blessed One did not praise.
"And what sort of mental absorption did he praise? There is the case where a monk — quite withdrawn from sensuality, withdrawn from unskillful (mental) qualities — enters & remains in the first jhana: rapture & pleasure born from withdrawal, accompanied by directed thought & evaluation. With the stilling of directed thoughts & evaluations, he enters & remains in the second jhana: rapture & pleasure born of concentration, unification of awareness free from directed thought & evaluation — internal assurance. With the fading of rapture, he remains equanimous, mindful, & alert, and senses pleasure with the body. He enters & remains in the third jhana, of which the Noble Ones declare, 'Equanimous & mindful, he has a pleasant abiding.' With the abandoning of pleasure & pain — as with the earlier disappearance of elation & distress — he enters & remains in the fourth jhana: purity of equanimity & mindfulness, neither pleasure nor pain. This is the sort of mental absorption that the Blessed One praised.
"It would seem, Ven. Ananda, that Master Gotama criticized the mental absorption that deserves criticism, and praised that which deserves praise.
http://www.accesstoinsight.org/tipitaka ... .than.html