סימן קפב סעיף ז
הַגּוֹזֵל אֶת הָרַבִּים, כְּגוֹן שֶׁהָיָה חֶנְוָנִי וּמָדַד בְּמִדָּה חֲסֵרָה אוֹ שֶׁשָּׁקַל בְּמִשְׁקָל חָסֵר וְכַדּוֹמֶה, אוֹ שֶׁהָיָה מְמֻנֶּה בַּקָּהָל וְהֵקֵל עַל קְרוֹבָיו וְהִכְבִּיד עַל אֲחֵרִים, וְכֵן מִי שֶׁנָטַל רִבִּית מֵרַבִּים, תְּשׁוּבָתוֹ קָשָה. לְפִיכָךְ יַעֲשֶׂה צָרְכֵי רַבִּים, שֶׁגַּם הַנִּגְזָלִים יֵהָנוּ מֵהֶם. וּמִכָּל מָקוֹם לָאֵלֶּה שֶׁהוּא יוֹדֵעַ שֶׁגָּזַל מֵהֶם, מְחֻיָב לְהַחֲזִיר לָהֶם, וְאֵינוֹ יוֹצֵא יְדֵי חוֹבָתוֹ בְּמַה שֶׁעָשָׂה צָרְכֵי רַבִּים.
He who robs the public—such as a shopkeeper who gives a short measure, or weighs with a short weight, or the like, or a public official who is lenient towards his relatives, and exacting towards others, or one who took usury from the public, will find it difficult to repent adequately. Therefore, he should establish a community service, so that his victims, too, might benefit from them.11This is the best he can do, but is still not a complete repentance. (Shulchan Aruch 231:19, Smah) Nevertheless, if the identity of his victims are known to him, he is obligated to make restitution, and he does not fulfill this obligation merely by contributing to a public service.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)