At Andhakavinda
Andhakavinda Sutta (AN 5:114)
On one occasion the Blessed One was staying among the Magadhans at Andhakavinda. Then Ven. Ānanda went to him and, having bowed down to him, sat to one side. As he was sitting there, the Blessed One said to him, “Ānanda, the new monks—those who have not long gone forth, who are newcomers in this Dhamma & Vinaya—should be encouraged, exhorted, and established in these five things. Which five?
“‘Come, friends, be virtuous. Dwell restrained in accordance with the Pāṭimokkha, consummate in your behavior & sphere of activity. Train yourselves, having undertaken the training rules, seeing danger in the slightest faults.’ Thus they should be encouraged, exhorted, & established in restraint in accordance with the Pāṭimokkha.
“‘Come, friends, dwell with your sense faculties guarded, with mindfulness as your protector, with mindfulness as your chief, with your intellect self-protected, endowed with an awareness protected by mindfulness.’ Thus they should be encouraged, exhorted, & established in restraint of the senses.
“‘Come, friends, speak only a little, place limits on your conversation.’ Thus they should be encouraged, exhorted, & established in limited conversation.
“‘Come, friends, dwell in the wilderness. Resort to remote wilderness & forest dwellings.’ Thus they should be encouraged, exhorted, & established in physical seclusion.
“Come, friends, develop right view. Be endowed with right vision.’ Thus they should be encouraged, exhorted, & established in right vision.
“New monks—those who have not long gone forth, who are newcomers in this Dhamma & Vinaya—should be encouraged, exhorted, and established in these five things.”
See also: SN 1:20; SN 22:122; SN 35:127; AN 4:245; AN 5:73; AN 5:80; AN 5:140; AN 7:63; AN 8:103; AN 10:48; AN 10:69; Sn 4:14; Thag 3:5; Thag 18