Puṇṇiyasutta
Atha kho āyasmā puṇṇiyo yena bhagavā tenupasaṅkami; upasaṅkamitvā bhagavantaṁ abhivādetvā ekamantaṁ nisīdi. Ekamantaṁ nisinno kho āyasmā puṇṇiyo bhagavantaṁ etadavoca: “ko nu kho, bhante, hetu ko paccayo yena appekadā tathāgataṁ dhammadesanā paṭibhāti, appekadā na paṭibhātī”ti? “Saddho ca, puṇṇiya, bhikkhu hoti, no cupasaṅkamitā; neva tathāgataṁ dhammadesanā paṭibhāti. Yato ca kho, puṇṇiya, bhikkhu saddho ca hoti, upasaṅkamitā ca; evaṁ tathāgataṁ dhammadesanā paṭibhāti. Saddho ca, puṇṇiya, bhikkhu hoti, upasaṅkamitā ca, no ca payirupāsitā …pe… payirupāsitā ca, no ca paripucchitā … paripucchitā ca, no ca ohitasoto dhammaṁ suṇāti … ohitasoto ca dhammaṁ suṇāti, no ca sutvā dhammaṁ dhāreti … sutvā ca dhammaṁ dhāreti, no ca dhātānaṁ dhammānaṁ atthaṁ upaparikkhati … dhātānañca dhammānaṁ atthaṁ upaparikkhati, no ca atthamaññāya dhammamaññāya dhammānudhammappaṭipanno hoti. Neva tāva tathāgataṁ dhammadesanā paṭibhāti.
With Puṇṇiya
Then Venerable Puṇṇiya went up to the Buddha, bowed, sat down to one side, and said to him: “Sir, what is the cause, what is the reason why sometimes the Realized One feels inspired to teach, and other times not?” “Puṇṇiya, when a mendicant has faith but doesn’t approach, the Realized One doesn’t feel inspired to teach. But when a mendicant has faith and approaches, the Realized One feels inspired to teach. When a mendicant has faith and approaches, but doesn’t pay homage … they pay homage, but don’t ask questions … they ask questions, but don’t actively listen to the teaching … they actively listen to the teaching, but don’t remember the teaching they’ve heard … they remember the teaching they’ve heard, but don’t examine the meaning of the teachings they’ve remembered … they examine the meaning of the teachings they’ve remembered, but, not having understood the meaning and the teaching, they don’t practice in line with the principle of the teaching. The Realized One doesn’t feel inspired to teach.