Abu Waail reported,

A man came to Ali and said, "Commander of the Faithful, I am unable to fulfill my contract for emancipation, so help me."Ali replied, "Shall I teach you words the Messenger of Allah ﷺ taught me? Even if you owed a debt the size of Mount Sir in gold coins, Allah would settle it for you."I said, "Yes, please."He said, "Say, 'O Allah, suffice me with what You have made lawful so I have no need of what You have forbidden, and enrich me through Your bounty so I have no need of anyone besides You.'"

Azami 11296

Hasan

عن أبي وائل قال

أتى عليا رجل فقال: يا أمير المؤمنين إني عجزت عن مكاتبتي فأعني. فقال علي: ألا أعلمك كلمات علمنيهن رسول الله ﷺ ولو كان عليك مثل جبل صير دنانير، لأداه الله عنك. قلت: بلى قال: قل: اللهم اكفني بحلالك عن حرامك، واغنني بفضلك عمن سواك.

الأعظمي 11296حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Supplications, remembrances, and prayer upon the chosen Prophet ﷺ
Chapter
Supplications for various occasions
Section
What a man says when burdened by debt
Numbering
Jami al-Kamil 11296 (2nd edition)
Azami 11296