Mishkat al-Masabih
Mishkat al-Masabih 3784
وَعَنْ عَوْفِ بْنِ مَالِكٍ: أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَضَى بَيْنَ رَجُلَيْنِ فَقَالَ الْمَقْضِيُّ عَلَيْهِ لَمَّا أَدْبَرَ: حَسْبِيَ اللَّهُ وَنِعْمَ الْوَكِيلُ فَقَالَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: " إِنَّ اللَّهَ تَعَالَى يَلُومُ عَلَى الْعَجْزِ وَلَكِنْ عَلَيْكَ بِالْكَيْسِ فَإِذَا غَلَبَكَ أَمْرٌ فَقُلْ: حَسْبِيَ اللَّهُ ونِعْمَ الوكيلُ ". رَوَاهُ أَبُو دَاوُد
Awf ibn Malik reported: The Prophet gave a ruling between two men. As the one ruled against turned away, he said, God is sufficient for me, and He is the best trustee. The Prophet said: God reproaches helplessness; you should act prudently. When something overcomes you, say, God is sufficient for me, and He is the best trustee. Abu Dawud transmitted it.
Translation notes
The Arabic contrasts taking prudent action with helplessness, then gives the invocation to say when a matter overcomes a person.