Whenever the Prophet came home from any expedition or pilgrimage or 'umrah, when he came to a narrow passage he used to declare that there is no deity than Allah and he has no partners. Read the full sentence below. 

On the way back

:Abdullah ibn 'Umar reported

‘When the Prophet (peace be upon him) started his journey home after an expedition, or after the pilgrimage or 'umrah, whenever he came to a narrow passage or an open space, or a plateau, he would say Allah-u akbar three times then add: La ilaha illa Allah wahdahu la shariqa lah. Lahul-mulk wa lahul-hamd, wa huwa [ala kulli shay’in qadir. Ayibun, ta'ibun, [abidun, sajidun, lirabbina hamidun. Sadaq Allah wa'dah, wa nasar 'abdah, wa hazam al-Ahzaba wahdah’

Related by al-Bukhari, hadith No. 1,797; Muslim, hadith No. 1,344.

This means: ‘There is no deity worthy of being worshipped other than Allah; He has no partners. To Him belongs all dominion and all praise; He is able to do everything. We take our way back, repenting of our sins, worshipping Allah and prostrating before Him, praising Him. Allah has fulfilled His promise, giving victory to His servant and on His own defeated the allied forces.