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