Sahih Bukhari Volume 8, Book 73, Hadith Number 56A.
Narated By Abu Musa : Whenever a beggar or a person in need came to the Prophet, the Prophet would say “Help and recommend him and you will receive the reward for it, and Allah will bring about what he will through His Prophet’s tongue.”