Abhayasutta

Suttapiṭaka · Saṁyuttanikāya · Mahāvaggasaṁyutta · Vol. 19 · Section 646

[646] Setting at Sāvatthī. "Bhikkhus, the perception of a skeleton (aṭṭhikasaññā), when developed and cultivated, leads to great dwelling in comfort. And how, bhikkhus, is the perception of a skeleton developed, how is it cultivated, so that it leads to great dwelling in comfort? Here, bhikkhus, a bhikkhu develops the mindfulness factor of awakening (bojjhaṅga) accompanied by the perception of a skeleton … he develops the equanimity factor of awakening accompanied by the perception of a skeleton, based upon seclusion (viveka), based upon dispassion (virāga), based upon cessation, maturing in relinquishment (vossagga). It is when the perception of a skeleton is developed thus, bhikkhus, cultivated thus, that it leads to great dwelling in comfort."

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

This passage also appears in 2 other places