The Holy One, blessed be He, said: Whoever engages in Torah and acts of kindness and prays with the community, I consider it as if he has redeemed Me and My children from among the nations of the world.

אמר הקב"ה כל העוסק בתורה ובגמ"ח ומתפלל עם הציבור מעלה אני עליו כאילו פדאני לי ולבני מבין אומות העולם
Shiurim in this topic
9407. Yud Kislev, Redemption, and Strengthening Torah, Chesed, and Prayer י' כסלו, גאולה, והתחזקות בתורה, גמ"ח ותפלה