Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:3563ʿAbdullāh b. ʿAbd al-Raḥman > Yaḥyá b. Ḥassān > Abū Muʿāwiyah > ʿAbd al-Raḥman b. Isḥāq > Sayyār > Abū Wāʾil > ʿAlī > Mukātab Jāʾah > Innī Qad ʿAjazt > Kitābatī Faʾaʿinnī

that a Mukatib came to him and said: “Indeed I am not capable of my Kitabah so aid me.” He said: “Should I not teach you words that the Messenger of Allah ﷺ taught me? If you had a debt upon you similar to the mountain of Sir, Allah would fulfill it for you. He said: ‘Say: O Allah, suffice me with Your lawful against Your prohibited, and make me independent of all those besides You (Allāhummakfinī biḥalālika ʿan ḥarāmika, wa aghninī bi faḍlika ʿamman siwāka).’”  

Abū ʿĪsá said that this Ḥadīth is Ḥasan-Gharīb.
الترمذي:٣٥٦٣حَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَبْدِ الرَّحْمَنِ أَخْبَرَنَا يَحْيَى بْنُ حَسَّانَ حَدَّثَنَا أَبُو مُعَاوِيَةَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ إِسْحَاقَ عَنْ سَيَّارٍ عَنْ أَبِي وَائِلٍ عَنْ عَلِيٍّ ؓ أَنَّ مُكَاتَبًا جَاءَهُ فَقَالَ إِنِّي قَدْ عَجَزْتُ عَنْ كِتَابَتِي فَأَعِنِّي قَالَ

أَلاَ أُعَلِّمُكَ كَلِمَاتٍ عَلَّمَنِيهِنَّ رَسُولُ اللَّهِ ﷺ لَوْ كَانَ عَلَيْكَ مِثْلُ جَبَلِ صِيرٍ دَيْنًا أَدَّاهُ اللَّهُ عَنْكَ قَالَ قُلِ اللَّهُمَّ اكْفِنِي بِحَلاَلِكَ عَنْ حَرَامِكَ وَأَغْنِنِي بِفَضْلِكَ عَمَّنْ سِوَاكَ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ

See similar narrations below:

Collected by Aḥmad, Ḥākim, Suyūṭī
ahmad:1319ʿAbdullāh > Abū ʿAbd al-Raḥman ʿAbdullāh b. ʿUmar > Abū Muʿāwiyah > ʿAbd al-Raḥman b. Isḥāq al-Qurashī > Sayyār Abū al-Ḥakam > Abū Wāʾil > Atá ʿAlī a man > Yā Amīr al-Muʾminīn Innī ʿAjazt > Mukātabatī Faʾaʿinnī

A man came to ‘Ali ؓ and said: O Ameer al-Muʿmineen, I am unable to pay off my contract of manumission; help me, ʿAli ؓ said: Shall I not tell you some words that the Messenger of Allah ﷺ taught me, then if you owe debts as great as Mount Seer in dinars, Allah will pay it off for you? He said: Yes indeed. He said: Say: O Allah, suffice me with what You have permitted so that I have no need of what You have forbidden, and make me independent of anyone other than You by Your grace.  

أحمد:١٣١٩حَدَّثَنَا عَبْدُ اللهِ حَدَّثَنِي أَبُو عَبْدِ الرَّحْمَنِ عَبْدُ اللهِ بْنُ عُمَرَ حَدَّثَنَا أَبُو مُعَاوِيَةَ عَنْ عَبْدِ الرَّحْمَنِ بْنِ إِسْحَاقَ الْقُرَشِيِّ عَنْ سَيَّارٍ أَبِي الْحَكَمِ عَنْ أَبِي وَائِلٍ قَالَ

أَتَى عَلِيًّا رَجُلٌ فَقَالَ يَا أَمِيرَ الْمُؤْمِنِينَ إِنِّي عَجَزْتُ عَنْ مُكَاتَبَتِي فَأَعِنِّي فَقَالَ عَلِيٌّ أَلا أُعَلِّمُكَ كَلِمَاتٍ عَلَّمَنِيهِنَّ رَسُولُ اللهِ ﷺ لَوْ كَانَ عَلَيْكَ مِثْلُ جَبَلِ صِيرٍ دَنَانِيرَ لادَّاهُ اللهُ عَنْكَ قُلْتُ بَلَى قَالَ قُلْ اللهُمَّ اكْفِنِي بِحَلالِكَ عَنْ حَرَامِكَ وَأَغْنِنِي بِفَضْلِكَ عَمَّنْ سِوَاكَ  

hakim:1973Ibrāhīm b. ʿIṣmah b. Ibrāhīm from my father > Yaḥyá b. Yaḥyá > Abū Muʿāwiyah > ʿAbd al-Raḥman b. Isḥāq al-Qurashī > Sayyār Abū al-Ḥakam > Abū Wāʾil > Jāʾ a man > ʿAlī > Aʿinnī

that a Mukatib came to him and said: “Indeed I am not capable of my Kitabah so aid me.” He said: “Should I not teach you words that the Messenger of Allah ﷺ taught me? If you had a debt upon you similar to the mountain of Sir, Allah would fulfill it for you. He said: ‘Say: O Allah, suffice me with Your lawful against Your prohibited, and make me independent of all those besides You (Allāhummakfinī biḥalālika ʿan ḥarāmika, wa aghninī bi faḍlika ʿamman siwāka).’” (Using translation from Tirmidhī 3563)  

الحاكم:١٩٧٣أَخْبَرَنَا إِبْرَاهِيمُ بْنُ عِصْمَةَ بْنِ إِبْرَاهِيمَ ثنا أَبِي ثنا يَحْيَى بْنُ يَحْيَى أَنْبَأَ أَبُو مُعَاوِيَةُ ثنا عَبْدُ الرَّحْمَنِ بْنُ إِسْحَاقَ الْقُرَشِيُّ عَنْ سَيَّارٍ أَبِي الْحَكَمِ عَنْ أَبِي وَائِلٍ قَالَ جَاءَ رَجُلٌ إِلَى عَلِيٍّ فَقَالَ أَعِنِّي فِي مُكَاتَبَتِي فَقَالَ

أَلَا أُعَلِّمُكَ كَلِمَاتٍ عَلَّمَنِيهِنَّ رَسُولُ اللَّهِ ﷺ لَوْ كَانَ عَلَيْكَ مِثْلُ جَبَلِ صَبِيرٍ دَيْنًا لَأَدَّاهُ اللَّهُ عَنْكَ قُلْ «اللَّهُمَّ اكْفِنِي بِحَلَالِكَ عَنْ حَرَامِكَ وَأَغْنِنِي بِفَضْلِكَ عَمَّنْ سِوَاكَ»  

هَذَا حَدِيثٌ صَحِيحُ الْإِسْنَادِ وَلَمْ يُخَرِّجَاهُ
suyuti:9049a
Request/Fix translation

  

السيوطي:٩٠٤٩a

"أَلا أعلِّمُكَ كلمات لو كان عليك مثل جبلِ صَبِيرٍ دينًا أدَّاه اللَّهُ عنكَ؟ قُلْ: اللَّهمَّ اكفنى بحلالِكَ عن حرامِكَ، وأَغننى بفضلك عمن سواك ".  

[حم] أحمد [ت] الترمذي حسن غريب، [ك] الحاكم في المستدرك عن على
suyuti:4-245bBiá Wāʾl > Atá ʿAliyyā a man > Yā Amyr al-Muʾmnyin Inniá ʿAjazt > Mukātabatiá Faʾʿinniá > Lā
Request/Fix translation

  

السيوطي:٤-٢٤٥b

" عَنْ أبِى وَائلٍ قَالَ: أَتَى عَلِيّا رَجُلٌ فَقَالَ: يَا أَميرَ الْمُؤْمنيِنَ إِنِّى عَجَزْتُ عَنْ مُكَاتَبَتِى فَأعِنِّى، فَقَالَ: ألاَ أُعَلِّمُكَ كَلِمَاتٍ عَلَّمَنيهِن رسُولُ الله ﷺ لَوْ كَانَ عَلَيْكَ مِثْلُ جَبَلِ صَبِيرٍ دَنَانِيرُ لأدَّاهَا الله عَنكَ؟ قُلْ: اللَّهُمَ اكفِني بِحَلاَلِكَ عَنْ حَرَامِكَ، وَاغْنِنِى بِفَضْلِكَ عَمَّنْ سِوَاكَ ".  

[حم] أحمد [ت] الترمذي وقال: حسن غريب، [ك] الحاكم في المستدرك [ض] ضياء المقدسي في مختاره