Sources on Learning Torah

בֶּן זוֹמָא אוֹמֵר, אֵיזֶהוּ חָכָם, הַלּוֹמֵד מִכָּל אָדָם, שֶׁנֶּאֱמַר (תהלים קיט) מִכָּל מְלַמְּדַי הִשְׂכַּלְתִּי כִּי עֵדְוֹתֶיךָ שִׂיחָה לִּי.

Ben Zoma said:Who is wise? He who learns from every man, as it is said: “From all who taught me have I gained understanding” (Psalms 119:99).

רַבִּי יִשְׁמָעֵאל בְּנוֹ אוֹמֵר, הַלּוֹמֵד תּוֹרָה עַל מְנָת לְלַמֵּד, מַסְפִּיקִין בְּיָדוֹ לִלְמֹד וּלְלַמֵּד. וְהַלּוֹמֵד עַל מְנָת לַעֲשׂוֹת, מַסְפִּיקִין בְּיָדוֹ לִלְמֹד וּלְלַמֵּד לִשְׁמֹר וְלַעֲשׂוֹת. רַבִּי צָדוֹק אוֹמֵר, אַל תַּעֲשֵׂם עֲטָרָה לְהִתְגַּדֵּל בָּהֶם, וְלֹא קַרְדֹּם לַחְפֹּר בָּהֶם. וְכָךְ הָיָה הִלֵּל אוֹמֵר, וּדְאִשְׁתַּמֵּשׁ בְּתָגָא, חָלָף. הָא לָמַדְתָּ, כָּל הַנֶּהֱנֶה מִדִּבְרֵי תוֹרָה, נוֹטֵל חַיָּיו מִן הָעוֹלָם:
Rabbi Ishmael his son said: He who learns in order to teach, it is granted to him to study and to teach; But he who learns in order to practice, it is granted to him to learn and to teach and to practice. Rabbi Zadok said: do not make them a crown for self-exaltation, nor a spade with which to dig. So to Hillel used to say, “And he that puts the crown to his own use shall perish.” Thus you have learned, anyone who derives worldly benefit from the words of the Torah, removes his life from the world.
מתני׳ רבי נחוניא בן הקנה היה מתפלל בכניסתו לבית המדרש וביציאתו תפלה קצרה אמרו לו מה מקום לתפלה זו אמר להם בכניסתי אני מתפלל שלא יארע דבר תקלה על ידי וביציאתי אני נותן הודאה על חלקי: גמ׳ תנו רבנן בכניסתו מהו אומר יהי רצון מלפניך ה׳ אלקי שלא יארע דבר תקלה על ידי ולא אכשל בדבר הלכה וישמחו בי חברי ולא אומר על טמא טהור ולא על טהור טמא ולא יכשלו חברי בדבר הלכה ואשמח בהם ביציאתו מהו אומר מודה אני לפניך ה׳ אלקי ששמת חלקי מיושבי בית המדרש ולא שמת חלקי מיושבי קרנות שאני משכים והם משכימים אני משכים לדברי תורה והם משכימים לדברים בטלים אני עמל והם עמלים אני עמל ומקבל שכר והם עמלים ואינם מקבלים שכר אני רץ והם רצים אני רץ לחיי העולם הבא והם רצים לבאר שחת:

MISHNA: Rabbi Neḥunya ben Hakana would recite a brief prayer upon his entrance into the study hall and upon his exit. They said to him: What is in this prayer? He said to them: Upon my entrance, I pray that no mishap will transpire caused by me in the study hall. And upon my exit, I give thanks for my portion.

GEMARA: The Sages taught in a baraita the complete formula of Rabbi Neḥunya ben Hakana’s prayer: Upon his entrance, what does he say? May it be Your will, Lord my God, that no mishap in determining the halakha transpires caused by me, and that I not fail in any matter of halakha, and that my colleagues, who together with me engage in clarifying the halakha, will rejoice in me. He specified: And that I will neither declare pure that which is impure, nor declare impure that which is pure and that my colleagues will not fail in any matter of halakha, and that I will rejoice in them. Upon his exit, what did he say? I give thanks before You, Lord my God, that You have placed my lot among those who sit in the study hall, and that you have not given me my portion among those who sit idly on street corners. I rise early, and they rise early. I rise early to pursue matters of Torah, and they rise early to pursue frivolous matters. I toil and they toil. I toil and receive a reward, and they toil and do not receive a reward. I run and they run. I run to the life of the World-to-Come and they run to the pit of destruction.

בָּרוּךְ אַתָּה ה' אֱלקֵינוּ מֶלֶךְ הָעולָם אֲשֶׁר קִדְּשָׁנוּ בְּמִצְותָיו וְצִוָּנוּ לַעֲסוק בְּדִבְרֵי תורָה:

וְהַעֲרֶב נָא ה' אֱלקֵינוּ אֶת דִּבְרֵי תורָתְךָ בְּפִינוּ וּבְפִיּות עַמְּךָ בֵּית יִשרָאֵל. וְנִהְיֶה אֲנַחְנוּ וְצֶאֱצָאֵינוּ. וְצֶאֱצָאֵי צֶאֱצָאֵינוּ וְצֶאֱצָאֵי עַמְּךָ בֵּית יִשרָאֵל. כֻּלָּנוּ יודְעֵי שְׁמֶךָ וְלומְדֵי תורָתֶךָ לִשְׁמָהּ: בָּרוּךְ אַתָּה ה' הַמְלַמֵּד תּורָה לְעַמּו יִשרָאֵל:

בָּרוּךְ אַתָּה ה' אֱלקֵינוּ מֶלֶךְ הָעולָם. אֲשֶׁר בָּחַר בָּנוּ מִכָּל הָעַמִּים וְנָתַן לָנוּ אֶת תּורָתו: בָּרוּךְ אַתָּה ה'. נותֵן הַתּורָה:

Blessed are You, Lord, our God, King of the Universe, Who has sanctified us with his commandments and commanded us to be involved with words of Torah.

And please, Lord, our God, make the words of Your Torah pleasant in our mouths and in the mouths of all of Your people, the House of Israel. And may we and our offspring [and the offspring of our offspring] and the offspring of Your people, the House of Israel - all of us - be knowing of Your Name and studying Your Torah for its sake. Blessed are You, Lord, Who teaches Torah to His people, Israel.

Blessed are You, Lord, our God, King of the Universe, who has chosen us from all of the nations and given us His Torah. Blessed are You, Lord, Who gives the Torah.