Imam Ali (a.s) narrated that God's Prophet (a.s) sent some people to war and said
“O' God! I promise to praise You as You deserve praise if they return healthy and successful.” After some time they returned as he wished. Then the Prophet of God (a.s) said: “Thanks be to God for His various blessings.”