סימן קפז סעיף ב
אַף עַל פִּי שֶׁמִּן הַדִין בְּמָקוֹם שֶׁרֹב גּוֹיִם מְצוּיִים, אֲפִלוּ נָתַן בָּהּ יִשְֹרָאֵל סִימָן, אֵינוֹ חַיָב לְהַחֲזִיר, מִשּׁוּם דְמִסְּתָמָא כְּבָר נִתְיָאֵשׁ הֵימֶנָּה, מִכָּל מָקוֹם טוֹב וְיָשָׁר לַעֲשׂוֹת לִפְנִים מִשּׁוּרַת הַדִּין לְהַחֲזִיר לְיִשְֹרָאֵל שֶׁנָּתַן בָּהּ סִימָן. וְכוֹפִין עַל זֶה. וְאִם הַמּוֹצֵא הוּא עָנִי, וּבַעַל הָאֲבֵדָה הוּא עָשִׁיר, אֵינוֹ צָרִיךְ לַעֲשׂוֹת לִפְנִים מִשּׁוּרַת הַדִין. וּבְמָקוֹם שֶׁיֵשׁ דִּינָא דְמַלְכוּתָא לְהַחֲזִיר אֲבֵדָה, חַיָב בְּכָל עִנְיָן לְהַחֲזִיר.
Although according to halachah, in a place where the majority of the people are non-Jewish, even if the Jew identifies it you are not obliged to return it to him, because we assume he already had despaired of its recovery, nevertheless, it is good and proper to do more than the halachah requires, and return it to the Jew who identifies it; and we force him to do this.2Shach 259—Raviah If the finder is a poor man, and the owner of the article is wealthy, the finder is not obligated to do more than the halachah requires. In a place where you are required by civil law to return a lost article, you must return it in all circumstances.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)