It is narrated from Sayyiduna Abdullah bin Abi Rabiah that when the Prophet (peace and blessings be upon him) was going for the Battle of Hunayn, he took thirty or forty thousand dirhams from him as a loan. When the Prophet (peace and blessings be upon him) returned from the battle, he repaid that loan to him and said: May Allah send blessings upon your wealth and your family for you. The recompense for a loan is that it is repaid, and thanks should also be expressed.
Hadith Referenceمسند احمد / مسند المدنيين رضي الله عنهم اجمعين / 16410
Hadith Gradingحکم دارالسلام:إسناده صحيح، واسم أحد رواته إبراهيم بن إسماعيل منقلب، وهذا خطأ قديم، والصواب: إسماعيل بن إبراهيم