[Machine] The Messenger of Allah صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ sent out a military expedition and he said, "If Allah grants them safety, then I will express my gratitude." Or he said, "O Ali, if Allah grants them safety, then I will express my gratitude." So they gained booty and returned safely. Then he said, "O Allah, to You belongs all praise, gratefulness, and all favors." The people expected him to do something but they did not see him do anything. They said, "O Messenger of Allah, you said to the one who said that?" He replied, "Did I not say, 'O Allah, to You belongs all praise, gratefulness, and all favors?'"
بَعَثَ رَسُولُ اللهِ ﷺ سَرِيَّةً فَقَالَ «لَئِنْ سَلَّمَهُمُ اللهُ لَأَشْكُرَنَّهُ» أَوْ قَالَ «عَلِيَّ إِنْ سَلَّمَهُمُ اللهُ أَنْ أَشْكُرَهُ» فَغَنِمُوا وَسَلِمُوا فَقَالَ «اللهُمَّ لَكَ الْحَمْدُ شُكْرًا وَلَكَ الْمَنُّ فَضْلًا» فَانْتَظَرَهُ النَّاسُ أَنْ يَصْنَعَ شَيْئًا فَلَمْ يَرَوْهُ يَصْنَعُ شَيْئًا فَقَالُوا يَا رَسُولَ اللهِ إِنَّكَ قُلْتَ لَلَّذِي قَالَ فَقَالَ أَوَلَمْ تَقُلْ اللهُمَّ لَكَ الْحَمْدُ شُكْرًا وَلَكَ الْمَنُّ فَضْلًا