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