The Rambam · Sefer Nezikim
הלכות גזילה ואבידה י״בRobbery and Lost Property 12
Chapter 12 of 18 in Robbery and Lost Property — 15 halachot
Halacha 1א׳
מִי שֶׁאָבְדָה לוֹ אֲבֵדָה וּפָגַע בַּאֲבֵדָתוֹ וַאֲבֵדַת חֲבֵרוֹ אִם יָכוֹל לְהַחְזִיר שְׁתֵּיהֶן חַיָּב לְהַחְזִיר שְׁתֵּיהֶן וְאִם אֵינוֹ יָכוֹל לְהַחְזִיר אֶלָּא אַחַת מֵהֶן אֲבֵדָתוֹ קוֹדֶמֶת וַאֲפִלּוּ לַאֲבֵדַת אָבִיו אוֹ שֶׁל רַבּוֹ שֶׁלּוֹ קוֹדֵם לְכָל אָדָם:
One who has lost an article, and came upon his own lost article and his fellow's lost article: if he can return both, he is obliged to return both; and if he can return only one of them, his own lost article takes precedence — even over his father's or his teacher's lost article; his own comes before everyone's.
Halacha 2ב׳
פָּגַע בַּאֲבֵדַת רַבּוֹ עִם אֲבֵדַת אָבִיו אִם הָיָה אָבִיו שָׁקוּל כְּנֶגֶד רַבּוֹ שֶׁל אָבִיו קוֹדֶמֶת וְאִם לָאו שֶׁל רַבּוֹ קוֹדֶמֶת. וְהוּא שֶׁיִּהְיֶה רַבּוֹ מֻבְהָק שֶׁרֹב חָכְמָתוֹ שֶׁל תּוֹרָה מִמֶּנּוּ לָמַד:
If he came upon his teacher's lost article together with his father's lost article: if his father was equal to his teacher, his father's takes precedence; and if not, his teacher's takes precedence — provided that it is his principal teacher, from whom he learned the greater part of his wisdom of Torah.
Halacha 3ג׳
הֵנִיחַ אֲבֵדָתוֹ וְהֶחְזִיר אֲבֵדַת חֲבֵרוֹ אֵין לוֹ אֶלָּא שָׂכָר הָרָאוּי לוֹ. כֵּיצַד. שָׁטַף נָהָר חֲמוֹרוֹ וַחֲמוֹר חֲבֵרוֹ שֶׁלּוֹ יָפֶה מָנֶה וְשֶׁל חֲבֵרוֹ מָאתַיִם. הִנִּיחַ אֶת שֶׁלּוֹ וְהִצִּיל אֶת שֶׁל חֲבֵרוֹ אֵין לוֹ אֶלָּא שְׂכָרוֹ הָרָאוּי לוֹ. וְאִם אָמַר לוֹ אַצִּיל אֶת שֶׁלְּךָ וְאַתָּה נוֹתֵן לִי דְּמֵי שֶׁלִּי אוֹ שֶׁהִתְנָה בִּפְנֵי בֵּית דִּין חַיָּב לִתֵּן לוֹ דְּמֵי שֶׁלּוֹ. וְאַף עַל פִּי שֶׁחֲמוֹרוֹ עָלָה מֵאֵלָיו. הוֹאִיל וְלֹא נִתְעַסֵּק בּוֹ זָכָה בְּמַה שֶּׁהִתְנָה עִמּוֹ:
One who left his own lost article and returned his fellow's lost article has only the wage due to him. How so? A river swept away his donkey and his fellow's donkey; his was worth a maneh, a hundred zuz, and his fellow's two hundred. If he left his own and rescued his fellow's, he has only his due wage. And if he said to him, "I will rescue yours, and you will give me the value of mine," or he stipulated before a court, the other is obliged to give him the value of his. And even if his own donkey came up of itself, since he did not occupy himself with it, he is entitled to what he stipulated with him.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: rendered from the Hebrew for this app — our own, not a borrowed translation