From Sahih Bukhari (Hadith 68):
Narrated Ibn Mas`ud:The Prophet (ﷺ) used to take care of us in preaching by selecting a suitable time, so that we might not get bored. (He abstained from pestering us with sermons and knowledge all the time)
Reference: Bukhari 68