Bava Basra (the "explanation" of parshas Mishpatim in the Oral Torah) explains in detail the concepts of the mitzvah of tzedekah. Among the fundamental ones is "Great is tzedekah for it brings close the Redemption, as it says, "Thus says the L-rd, keep judgment and do justice [tzedekah], for my salvation is near to come and my righteousness to be revealed."
As a continuation of this, there is also the lesson from the beginning of parshas Terumah (which is read at Mincha on Shabbos): "Make me a Sanctuary and I will dwell among them," beginning with the individual sanctuary within each and every Jew ("within it is not written but within them, within each and everyone"), within his inner heart. [The Sanctuary should also be] in his house and his room, making it a house of Torah, prayer and acts of loving-kindness. This includes in particular joining in building and expanding synagogues and Houses of Study in a manner of "Take for me terumah... gold and silver and copper" (all thirteen (fifteen) things enumerated in the Torah), through which is accelerated and hastened and effected immediately the building of the third Beis HaMikdash in reality, in the simple sense.
This resolution should bring immediately the reward, bringing the Redemption, imminently and immediately in reality, for then the Melave Malka [the meal after Shabbos], "the meal of Dovid, king Moshiach,"
References
33. 8a ff.
34. 10a.
35. Yeshayahu 56:1.
36. See Alschich on the verse. Sheloh 69a and in other places.
37. 25:2-3.
38. See Likkutei Sichos, vol. 21, p. 153, in the references there.
39. [To give according to the generosity of their pure hearts to the Gemach [Free Loan] Fund, for whose benefactors a Melave Malka was arranged after this Holy Sabbath. (Publisher's note)]
40. See Taanis 8b. Shulchan Aruch Orach Chaim end of section 571.
41. Siddur HaArizal in its place [section dealing with the Saturday night Melave Malka repast] and in other places.
42. See above, section 59.