I heard the Messenger of Allah ﷺ say, "Whoever takes on a debt, and Allah knows that he intends to repay it, Allah will settle it on his behalf."
حدثنا يحيى بن آدم قال حدثنا جعفر بن زياد عن منصور عن رجل
سمعت رسول الله ﷺ يقول من استدان دينا يعلم الله عز وجل منه أنه يريد أداءه أداه الله عنه