Reference for Shabbat 227:8
ואמר רבי יוחנן איזהו ת"ח שבני עירו מצווין לעשות לו מלאכתו זה שמניח חפצו ועוסק בחפצי שמים והנ"מ למיטרח בריפתיה ואמר רבי יוחנן איזהו תלמיד חכם כל ששואלין אותו הלכה בכל מקום ואומרה למאי נפקא מינה למנוייה פרנס על הציבור אי בחדא מסכתא באתריה אי בכוליה תנויה בריש מתיבתא
R. Johanan also said: Who is the scholar whose work it is the duty of his townspeople to perform?<span class="x" onmousemove="('comment',' V. Yoma 72b; cf. Aboth III, and note a.l. in Sonc. ed. The present passage supports the thirteenth century interpretation quoted there, and suggests that is was similarly interpreted in Talmudic ages too. ');"><sup>20</sup></span> He who abandons his own interest and engages in religious affairs; yet that is only to provide<span class="x" onmousemove="('comment',' Lit., 'take trouble over'. ');"><sup>21</sup></span> his bread.<span class="x" onmousemove="('comment',' I.e., he can only demand the necessities of existence. ');"><sup>22</sup></span>