Sahih al-Bukhari, Book 56, Hadith 288 (Bukhari 2957)

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."