Abu Wa'il (may Allah have mercy on him) narrates that a man came to Sayyiduna Ali (may Allah be pleased with him) and said: "Help me in paying my mukatabah (the contract for my freedom)." He said: "Shall I not teach you words that the Messenger of Allah (peace and blessings be upon him) taught me? Even if you owed a debt as large as Mount Sir, Allah would pay it off on your behalf. Say: 'O Allah, suffice me with what You have made lawful against what You have made unlawful, and by Your bounty make me independent of all besides You.'"
Imam al-Tirmidhi (may Allah have mercy on him) narrated it from Abdullah bin Abd al-Rahman, from Yahya bin Hassan, from Abu Mu'awiyah, and said: "This hadith is hasan."
And this is the narration of Imam al-Hakim (may Allah have mercy on him) in his book "al-Mustadrak".