One who gives tzedakah, as it were, makes the Holy One, Blessed be He, like a borrower, as our sages, of blessed memory, wrote there: What is the meaning of that which is written, "He who is gracious to the poor lends to Hashem"? As it were: "The borrower is a servant to the lender." They further said there: Anyone who gives a perutah to a poor person is blessed with six blessings, and one who appeases him with eleven blessings, and this is derived from a verse, see there. And anyone who pursues tzedakah—the Holy One, Blessed be He, provides him with money and performs tzedakah through them, and summons for him worthy people so that he may perform tzedakah with them. And regarding this it is said: "He who pursues tzedakah and kindness will find life, tzedakah, and honor" (ibid.). And anyone who is accustomed to performing tzedakah—he will have sons who are masters of wisdom, masters of wealth, and masters of Aggadah (ibid.). And this is derived from a verse, see there. And one whom Hashem has graced with wealth—behold, the wealth is not his, for he will die and leave his fortune to others. But tzedakah and gemilut chasadim are his forever and for all eternity. And this was the response of King Monobaz, who distributed his treasures to tzedakah, as is explained in the Gemara (Bava Batra). Therefore, it is a positive commandment to give tzedakah according to the reach of one's hand. And the Tur wrote that a person must be very careful regarding it, for it is possible that it may lead to bloodshed, like the incident involving Nachum Ish Gam Zu in Ta'anit (Ta'anit 21a), where before he could give to him—the man died of hunger. And many times we were commanded regarding it in the Torah with a positive commandment. And furthermore, there is a negative commandment for one who averts his eyes from it, as it is said: "You shall not harden your heart, nor shut your hand from your needy brother. For you shall surely open your hand to him etc." Likewise: "Because of this thing Hashem your G-d will bless you etc." And anyone who averts his eyes from tzedakah is called "Beliya'al," and it is as if he performs idol worship (Ketubot 68a). And therefore it is written regarding tzedakah concerning one who does not wish to give: "Lest there be a base (Beliya'al) thought in your heart etc. and your eye be evil against your needy brother and you give him nothing." And regarding the Subverted City it is written, "base (Beliya'al) men have gone out" (Bava Batra 10a).
והנותן צדקה כביכול נעשה לו הקדוש ברוך הוא כלוה, כמו שכתב חכמינו ז"ל שם: מאי דכתיב "מלוה ה' חונן דל"? כביכול: "עבד לוה לאיש מלוה". עוד אמרו שם: כל הנותן פרוטה לעני מתברך בשש ברכות, והמפייסו באחת עשרה ברכות, ודריש לה מקרא, עיין שם. וכל הרודף אחר צדקה – הקדוש ברוך הוא ממציא לו מעות, ועושה בהן צדקה, ומזמין לו אנשים מהוגנים שיעשה עמם צדקה. ועל זה נאמר: "רודף צדקה וחסד – ימצא חיים צדקה וכבוד" (שם). וכל הרגיל לעשות צדקה – הוויין לו בנים בעלי חכמה, בעלי עושר, בעלי אגדה (שם). ודריש לה מקרא, עיין שם. ומי שחננו ה' בעושר – הלא העושר אינו שלו כי ימות, ועזבו לאחרים חילם. אבל הצדקה וגמילות חסדים הם שלו לעד ולעולמי עולמים. וזהו תשובת מונבז המלך, שביזבז אוצרותיו לצדקה כמבואר בגמרא (בבא בתרא). ולכן מצות עשה ליתן צדקה כפי השגת ידו. וכתב הטור דמאד צריך האדם ליזהר בה, כי אפשר שתביא לידי שפיכות דמים, כמעשה דנחום איש גם זו בתענית (תענית כא א), שעד שלא נתן לו – מת ברעב. וכמה פעמים נצטוינו בה בתורה בעשה. ועוד יש לא תעשה למעלים עיניו ממנה, שנאמר: "לא תאמץ את לבבך, ולא תקפוץ את ידך מאחיך האביון. כי פתח תפתח את ידך לו וגו'". כן: "בגלל הדבר הזה יברכך ה' אלקיך וגו'". וכל המעלים עיניו מן הצדקה נקרא "בליעל", וכאילו עובד עבודת כוכבים (כתובות סח א). ולכן כתיב בצדקה במי שאינו רוצה ליתן: "כי יהיה דבר עם לבבך בליעל וגו', ורעה עינך באחיך האביון ולא תתן לו". ובעיר הנדחת כתיב "יצאו אנשים בני בליעל" (בבא בתרא י א).