(197) باب مَا يَقُولُ إِذَا رَجَعَ مِنَ الْغَزْوِ
Narrated `Abdullah:
When the Prophet (ﷺ) returned (from Jihad), he would say Takbir thrice and add, "We are returning, if Allah wishes, with repentance and worshipping and praising (our Lord) and prostrating ourselves before our Lord. Allah fulfilled His Promise and helped His Slave, and He Alone defeated the (infidel) clans."
Reference: Sahih al-Bukhari 3084
In-book reference: Book 56, Hadith 289
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 52, Hadith 317