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
عَنِ النَّبِيِّ ﷺ أَنَّهُ كَانَ إِذَا أَتَاهُ السَّائِلُ أَوْ صَاحِبُ الْحَاجَةِ قَالَ اشْفَعُوا فَلْتُؤْجَرُوا وَلْيَقْضِ اللَّهُ عَلَى لِسَانِ رَسُولِهِ مَا شَاءَ