(44) باب اسْتِحْبَابِ الشَّفَاعَةِ فِيمَا لَيْسَ بِحَرَامٍ
Abu Musa reported that when any needy (person) came to Allah's Messenger (ﷺ) with a need he commanded him to his Companions, saying:
Make a recommendation for him, and you would get the reward. Allah, however, gives the verdict through the tongue of His Apostle what He likes most.
Reference: Sahih Muslim 2627
In-book reference: Book 45, Hadith 188
USC-MSA web (English) reference(deprecated numbering scheme): Book 32, Hadith 6360