Hāliddikānisutta
Ekaṁ samayaṁ āyasmā mahākaccāno avantīsu viharati kuraraghare papāte pabbate. Atha kho hāliddikāni gahapati yenāyasmā mahākaccāno tenupasaṅkami …pe… ekamantaṁ nisinno kho hāliddikāni gahapati āyasmantaṁ mahākaccānaṁ etadavoca: “vuttamidaṁ, bhante, bhagavatā: ‘dhātunānattaṁ paṭicca uppajjati phassanānattaṁ; phassanānattaṁ paṭicca uppajjati vedanānānattan’ti. Kathaṁ nu kho, bhante, dhātunānattaṁ paṭicca uppajjati phassanānattaṁ; phassanānattaṁ paṭicca uppajjati vedanānānattan”ti? “Idha, gahapati, bhikkhu cakkhunā rūpaṁ disvā ‘manāpaṁ itthetan’ti pajānāti cakkhuviññāṇaṁ sukhavedaniyañca. Phassaṁ paṭicca uppajjati sukhā vedanā. Cakkhunā kho paneva rūpaṁ disvā ‘amanāpaṁ itthetan’ti pajānāti cakkhuviññāṇaṁ dukkhavedaniyañca. Phassaṁ paṭicca uppajjati dukkhā vedanā. Cakkhunā kho paneva rūpaṁ disvā ‘upekkhāṭṭhāniyaṁ itthetan’ti pajānāti cakkhuviññāṇaṁ adukkhamasukhavedaniyañca. Phassaṁ paṭicca uppajjati adukkhamasukhā vedanā.
With Hāliddikāni
At one time Venerable Mahākaccāna was staying in the land of the Avantis near Kuraraghara on Steep Mountain. Then the householder Hāliddikāni went up to Venerable Mahākaccāna … and asked him, “Sir, this was said by the Buddha: ‘Diversity of elements gives rise to diversity of contacts, and diversity of contacts gives rise to diversity of feelings.’ How does diversity of elements give rise to diversity of contacts, and diversity of contacts gives rise to diversity of feelings?” “Householder, it’s when a mendicant sees a sight with their eyes and understands it to be agreeable. There is eye consciousness; and pleasant feeling arises dependent on a contact to be experienced as pleasant. Then they see a sight and understand it to be disagreeable. There is eye consciousness; and painful feeling arises dependent on a contact to be experienced as painful. Then they see a sight and understand it to be a basis for equanimity. There is eye consciousness; and neutral feeling arises dependent on a contact to be experienced as neutral.