סימן קפא סעיף כ
כָּל זְמַן שֶׁהָאָדָם זוֹכֵר, יָכוֹל לְהָעִיד לְעוֹלָם, וְאֵינוֹ חוֹשֵׁשׁ שֶׁמָא מִתּוֹךְ שֶׁנִתְיַשֵׁן הַדָּבָר הַרְבֵּה אֵינוֹ זוֹכְרוֹ עַל בֻּרְיוֹ. וַאֲפִלּוּ אֵינוֹ נִזְכָּר לָעֵדוּת אֶלָּא מִתּוֹךְ הַכְּתָב, שֶׁכְּשֶמְּסָרוּהוּ לוֹ, כְּתָבוּ בְּפִנְקָסוֹ לְזִכְרוֹן דְּבָרִים וְשָׁכַח אֶת הַדָּבָר וְאֵינוֹ נִזְכָּר אֶלָּא מִתּוֹךְ הַכְּתָב יָכוֹל לְהָעִיד. וְדַוְקָא שֶׁכַּאֲשֶׁר רָאָה אֶת הַכְּתָב נִזְכַּר בַּדָּבָר. וְכֵן אִם נִזְכַּר בַּדָּבָר עַל יְדֵי אַחֵר שֶׁהִזְכִּרוֹ לוֹ, יָכוֹל לְהָעִיד, וַאֲפִלּוּ הָיָה הַמַּזְכִּיר הָעֵד הַשֵּׁנִי. אֲבָל אִם בַּעַל הַדִּין בְּעַצְמוֹ מַזְכִּירוֹ וְנִזְכַּר, לֹא יָעִיד. אַךְ יָכוֹל בַּעַל הַדִּין לִמְסֹר אֶת הַדְּבָרִים לְאַחֵר וְהוּא יַזְכִּירוֹ, דַּהֲוֵי לֵהּ נִזְכָּר עַל יְדֵי אַחֵר.
So long as you remember the facts, you may testify at any time and you need not fear that because it happened long ago, you do not remember clearly. Even if you only remember the testimony from the record you made. If for example when they gave you [a document etc.] you wrote the information in your book, in order to have a record of it, and you had forgotten the facts and only remember them from your records, even in such an event you may testify. This is true only if upon reading the records, your memory is refreshed. Also, if your memory is refreshed by someone else who reminded you, you may testify; even if the one who reminded you is the second witness. However, if the litigant himself17Or his wife or his children (but other relatives are like strangers in this regard). (Shevus Ya’akov 2:147) reminded you and refreshed your memory, you may not testify. The litigant, however, may present the facts to someone else, and that person may in turn remind you, for then your memory will have been refreshed by a third party.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)