Preached at Kajangalá in the Mukheluvana. When a young brahmin, Uttara, pupil of Párápariya, visits the Buddha, the Buddha asks him what was the teaching of Párásariya on the development of the indriyas. It is that a man should neither see forms with his eyes, nor hear words with his ears, says Uttara. Whereupon the Buddha retorts that in that case the deaf and the blind have reached development. When Uttara sits silent and discomfited, Ananda intervenes and begs the Buddha to expound his teaching on the subject. The Buddha agrees and preaches this sutta, with a variety of similes (M.iii.298-302).
In the Theragáthá Commentary (ii.17) we are told that the thera Párápariya (probably identical with Párásariya mentioned above) was taught the Indriyabhávana Sutta by the Buddha. He learnt it by heart, and pondering over its meaning, attained insight. The Theragáthá (vv.726ff) gives a summary of the musings of Párápariya which lead to his attainment.
The only connection between the Sutta and this summary is identity of subject, not identity of treatment. Perhaps Párápariya's musings were only prompted by the sutta and were independent of its actual words.