Anuruddhasaṅyuta

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

[1258] If he wishes, "May I dwell perceiving the repulsive in the unrepulsive," he dwells perceiving the repulsive therein. If he wishes, "May I dwell perceiving the unrepulsive in the repulsive," he dwells perceiving the unrepulsive therein. If he wishes, "May I dwell perceiving the repulsive in both the unrepulsive and the repulsive," he dwells perceiving the repulsive therein. If he wishes, "May I dwell perceiving the unrepulsive in both the repulsive and the unrepulsive," he dwells perceiving the unrepulsive therein. If he wishes, "Avoiding both the unrepulsive and the repulsive, may I dwell equanimous (upekkhako), with mindfulness (sati) and clear comprehension (sampajāno)," he dwells therein equanimous, mindful and clearly comprehending.

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

This passage also appears in 2 other places