أَخْبَرَنَا عَبْدُ الرَّحْمَنِ بْنُ عُبَيْدِ اللَّهِ الْحُرْفِيُّ ، أَخْبَرَنَا أَحْمَدُ بْنُ سَلْمَانَ الْفَقِيهُ ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ أَبِي الدُّنْيَا ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ شَبِيبٍ الْمُدَنِيُّ ، حَدَّثَنَا يَعْقُوبُ بْنُ مُحَمَّدٍ الزُّهْرِيُّ ، حَدَّثَنِي سُلَيْمَانُ بْنُ سَالِمٍ مَوْلَى آلِ جَحْشٍ ، عَنْ سَعْدِ بْنِ إِسْحَاقَ بْنِ كَعْبِ بْنِ عُجْرَةَ ، عَنْ أَبِيهِ ، عَنْ جَدِّهِ ، قَالَ : بَعَثَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بَعْثًا مِنَ الْأَنْصَارِ وَقَالَ : " إِنْ سَلَّمَهُمُ اللَّهُ وَغَنَّمَهُمْ فَإِنَّ لِلَّهِ عَلَيَّ فِي ذَلِكَ شُكْرًا " قَالَ : فَلَمْ يَلْبَثُوا أَنْ غَنِمُوا وَسَلِمُوا ، فَقَالَ بَعْضُ أَصْحَابِهِ سَمِعْنَاكَ تَقُولُ : " إِنْ سَلَّمَهُمُ اللَّهُ وَغَنَّمَهُمْ ، فَإِنَّ لِلَّهِ عَلَيَّ فِي ذَلِكَ شُكْرًا " - قَالَ - " قَدْ فَعَلْتُ " قُلْتُ : " اللَّهُمَّ لَكَ شُكْرًا وَلَكَ الْمَنُّ فَضْلًا " .
وَرُوِيَ مِنْ وَجْهٍ آخَرَ عَنْ حَفْصَةَ بِنْتِ سِيرِينَ ، عَنْ عُمَرَ بْنِ الْخَطَّابِ وَهُوَ فِي مُسْنَدِ أَحْمَدَ بْنِ عُبَيْدٍ .
Sayyiduna Ka'b bin Ujrah (may Allah be pleased with him) narrated that the Messenger of Allah (peace and blessings be upon him) sent out an expedition of the Ansar and said: "If Allah keeps them safe and grants them spoils, then I owe Allah thanks for that." He said: Only a short while passed before they returned safely with spoils. Some of his (peace and blessings be upon him) Companions said: "We heard you say: 'If Allah keeps them safe and grants them spoils, then I owe Allah thanks for that.'" He (peace and blessings be upon him) said: "I have already done (it); I said: 'O Allah, to You belongs thanks, and Yours is the favour, as a bounty.'"
And it has also been narrated through another chain from Hafsah bint Sirin (may Allah have mercy on her) from Sayyiduna Umar bin al-Khattab (may Allah be pleased with him), and it is in the Musnad of Ahmad bin Ubayd (may Allah have mercy on him).