סימן קפ סעיף יג
אֵין שְׁבִיעִית מְשַׁמֶּטֶת כְּסָפִים, אֶלָּא בְּסוֹפָהּ. לְפִיכָךְ הַמַּלְוֶה אֶת חֲבֵרוֹ בִּשְׁנַת הַשְּׁמִטָּה עַצְמָהּ, גּוֹבֶה חוֹבוֹ כָּל הַשָׁנָה. וּכְשֶׁתִּשְׁקַע הַחַמָּה בְּעֶרֶב רֹאשׁ הַשָׁנָה, אָבַד הַחוֹב.
Shemitah cancels monetary loans only at the end of the shemitah year. Therefore, if you lend someone money during the shemitah year, you may collect the debt during the entire year, but at sunset the eve of Rosh Hashana, the debt is cancelled.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)