Jerusalem Talmud Ta’anit 3

Rain falls in the merit of acts of loving-kindness.