משנה אויף דברים 19:17

וְעָמְד֧וּ שְׁנֵֽי־הָאֲנָשִׁ֛ים אֲשֶׁר־לָהֶ֥ם הָרִ֖יב לִפְנֵ֣י יְהוָ֑ה לִפְנֵ֤י הַכֹּֽהֲנִים֙ וְהַשֹּׁ֣פְטִ֔ים אֲשֶׁ֥ר יִהְי֖וּ בַּיָּמִ֥ים הָהֵֽם׃

זאָלן די צװײ מענטשן װאָס האָבן דעם שטרײַט, זיך שטעלן פֿאַר גאָט, פֿאַר די כֹּהנים און די ריכטער װאָס װעלן זײַן אין יענע טעג.

Mishnah Ketubot

The following are believed to testifying when they are grown-up about what they saw when they were minors:A person is believed to say “This is the handwriting of my father”, “This is the handwriting of my teacher”, “This is the handwriting of my brother”; “I remember that that woman went out with a hinuma and an uncovered head”; “That that man used to go out from school to immerse in order to eat terumah”; “That he used to take a share with us at the threshing floor”; “That this place was a bet ha-peras”; “That up to here we used to go on Shabbat”; But a man is not believed when he says: “So-and-so had a path in this place”; “That man had a place of standing up and eulogy in this place”.
פֿרעגט אַ רבֿBookmarkShareCopy

Mishnah Shevuot

The oath of testimony applies to men and not to women, to non-relatives and not to relatives, to those qualified [to bear witness] and not to those unqualified. And it applies only to those eligible to bear witness. Whether [uttered] in front of the court or not in front of the court, if [uttered] with his own mouth; [but if adjured] by the mouth of others he is not liable unless he denies it before the court, these are the words of Rabbi Meir. But the Sages say: “Whether [uttered] with his own mouth or [adjured] by the mouth of others he is not liable unless he denies it before the court.”
פֿרעגט אַ רבֿBookmarkShareCopy