It was narrated from Ibn 'Umar that the Messenger of Allah (ﷺ) said:
"When a rich man takes too long to repay a debt, this is wrongdoing, and if the debt is transferred to a rich man, you should accept if." (ID)
English reference (ID): Vol. 3, Book 15, Hadith 2404 (ID)
Arabic reference (ID): Book 15, Hadith 2496 (ID)