Jami` at-Tirmidhi, Book 41, Hadith 26 (Tirmidhi 2740)

Narrated Anas bin Malik:

"A man came to the Prophet (ﷺ) to get a mount, but he (ﷺ) did not have anything to mount him on with him. So he was lead to another person to give him a mount. He came to the Prophet (ﷺ) to inform him about that and he said: 'Whoever leads to good, he is like the one who does it.'"