Sirach 12:1
Ben Sira, Ecclesiasticus1 If you do good, know to whom you do it, and you will be thanked for your good deeds. 2 Do good to the devout, and you will be repaid— if not by them, certainly by the Most High. 3 No good comes to one who persists in evil or to one who does not give alms. 4 Give to the devout, but do not help the sinner. 5 Do good to the humble, but do not give to the ungodly; hold back their bread, and do not give it to them, for by means of it they might subdue you; then you will receive twice as much evil for all the good you have done to them.
Didache 1:6
5 Give to everyone that asks thee, and do not refuse, for the Father's will is that we give to all from the gifts we have received. Blessed is he that gives according to the mandate; for he is innocent; but he who receives it without need shall be tried as to why he took and for what, and being in prison he shall be examined as to his deeds, and he shall not come out thence until he pay the last farthing. 6 But concerning this it was also said, Let thine alms sweat into thine hands until thou knowest to whom thou art giving.
Notes and References
Skehan, Patrick Wm. Didache 1,6 and Sirach 12,1. (pp. 533-536) Biblica 44, no. 4, 1963