Giving tzedakah in the hope of getting a specific prayer answered: Pesachim 8a; Rosh HaShanah 4a
If a poor person approaches a wealthy person and asks him for support, and the wealthier person refuses, then Gd will make the poor person wealthy and make the wealthy person poor: Temurah 16a