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." (JA)
English reference (JA): Vol. 3, Book 15, Hadith 2409 (JA)
Arabic reference (JA): Book 15, Hadith 2501 (JA)