Isma'il bin Abi Rabi'ah Al-Makhzumi narrated from his father, from his grandfather, that :
the Prophet (ﷺ) borrowed thirty or forty thousand from him, when he fought at Hunain. When he came back he paid the loan, then the Prophet (ﷺ) said to him: 'May Allah (SWT) bless your family and your wealth for you. The reward for lending is repayment and words of paradise."
English reference: Vol. 3, Book 15, Hadith 2424
Arabic reference: Book 15, Hadith 2518