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