Ahavat Olam (Hebrew: אהבת עולם, Eternal love) is the second prayer that is recited during Maariv. It is the parallel blessing to Ahava Rabbah that is recited during Shacharit, and likewise, is an expression to God for the gift of the Torah.[1]
Ahava Rabbah is recited in the morning and
Ahavat Olam is recited in the evening as a compromise. Ahava Rabbah is the Ashkenazi prayer, and Ahavat Olam is the Sephardi prayer. Sephardim recite Ahavat Olam at both Shacharit and Maariv.[2] The debate over this recitation occurred between the Geonim. Saadia Gaon had made a ruling that followed that of his predecessor Amran. The last two Geonim, Sherira Gaon and Hai Gaon, made the final ruling which stands to this day.[3]
https://en.wikipedia.org/wiki/Ahavat_Olam#:~:text=Ahavat%20Olam%20
The second blessing before the Shema in the evening service. We thank God for giving us Torah and recognize that unlike ourselves, God and the gift of Torah are eternal.
Transliteration
אֳהַבַת עוֹלָם בֵּית יִשְׂרָאֵל עַמְּךָ אָהַבְתָּ. תּוֹרָה וּמִצְוֹת חֻקִּים וּמִשְׁפָּתִים אוֹתָנוּ לִמַּדְתָּ. עַל כֵּן יְיָ אֱלֹהֵינוּ בְּשָׁכְבְּנוּ וּבְקוּמֵנוּ נָשִׂיחַ בְּחֻקֶּךָ וְנִשְׁמַח בְּדִבְרֵי תוֹרָתְךָ וּבְמִצְוֹתֶיךָ לְעוֹלָם וָעֶד. כִּי הֵם חַיֵּינוּ וְאוֹרֶךְ יָמֵינוּ וּבָהֶם נֶהְגֶּה יוֹמָם וָלָיְלָה. וְאַהֲבָתְךָ אַל תָּסוּר מִמֶּנּוּ לְעוֹלָמִים! בָּרוּךְ אַתָּה יְיָ אוֹהֵב עַמּוֹ יִשְׂרָאֵל.
Endless is Your love for Your people Israel. You have taught us Torah and its mitzvot, laws and judgement. Therefore, O God, when we lie down and when we rise up we shall speak of Your commandments and rejoice in Your Torah and mitzvot forever. Day and night we will reflect on them. They are our life and the length of our days. Your love shall never depart from our hearts. Blessed are You, Eternal God who loves Your people Israel.