The Messenger of Allah ﷺ used to say, "There is no god but Allah alone. He honored His army, gave victory to His servant, and defeated the confederates by Himself, and there is nothing after Him."
حدثنا هاشم حدثنا ليث حدثني سعيد عن أبيه
أن رسول الله ﷺ كان يقول لا إله إلا الله وحده أعز جنده ونصر عبده وغلب الأحزاب وحده ولا شيء بعده
Its isnad is sahih, and it will come again at 8471 through Yunus and at 10411 through Hajjaj and Hashim, all three of them from Layth, with the same wording. Bukhari related it 7:312 Fath, and Muslim 2:317, both of them through Qutayba bin Saeed, from Layth, with the same wording.