Anas (May Allah be pleased with him) reported:
There were two brothers in the days of the Prophet (ﷺ). One of them used to attend the Prophet's circle (to acquire knowledge) and the other used to earn their living). Once the latter complained to the Prophet (ﷺ) against the former (for not earning his living). He (ﷺ) replied, "Perhaps you are being provided because of him".[At- Tirmidhi].
Arabic/English book reference: Book 1, Hadith 84