that a man came to the Prophet (ﷺ) looking for a mount, he said: 'Mine has been ruined.' So the Messenger of Allah (ﷺ) said: 'Go to so-and-so.' So he went to him and he gave him a mount. The Messenger of Allah (ﷺ) said: 'Whoever leads to good, then for him is the same reward as the one who does it - or - who acts upon it.'"
Jami` at-Tirmidhi Book 41, Hadith 27