It was narrated from 'Abdullah bin Ja'far that the Messenger of Allah (ﷺ) said:
"Allah will be the borrower until he pays off his debt, so long as it (the loan) is not for something that Allah dislikes." (PT)
English reference (PT): Vol. 3, Book 15, Hadith 2409 (PT)
Arabic reference (PT): Book 15, Hadith 2501 (PT)