Yevamos16: 5
אֲפִלּוּ שָׁמַע מִן הַנָּשִׁים אוֹמְרוֹת ,,מֵת אִישׁ פְּלוֹנִי” — דַּיּוֹ. רַבִּי יְהוּדָה אוֹמֵר: אֲפִלּוּ שָׁמַע מִן הַתִּינוֹקוֹת אוֹמְרִים ,,הֲרֵי אָנוּ הוֹלְכִין לִסְפּוֹד וְלִקְבּוֹר אֶת אִישׁ פְּלוֹנִי”, בֵּין שֶׁהוּא מִתְכַּוֵּן וּבֵין שֶׁאֵינוֹ מִתְכַּוֵּן. רַבִּי יְהוּדָה בֶּן בָּבָא אוֹמֵר: בְּיִשְׂרָאֵל — עַד שֶׁיְּהֵא מִתְכַּוֵּן. וּבְגוֹי — אִם הָיָה מִתְכַּוֵּן אֵין עֵדוּתוֹ עֵדוּת.
Even if he heard women saying, “So-and-so died,” it is sufficient. R' Yehudah says: Even if he heard children saying, “We are going to eulogize and bury so-and-so.” [His testimony is valid] whether he intends [to testify] or not. R' Yehudah ben Bava says: A Jew's [testimony is valid], even if he intended [to testify], but [if] a non-Jew intended [to testify], his testimony is not valid.