It is narrated on the authority of 'Abdullah ibn' Umar (RA) that the Messenger of Allah (ﷺ) used to rise on every high ground on the way back from a battle or Hajj or 'Umrah and say three times:
اَللَّهُ أَكْبَرُ
اَللّٰهُ اَكْبَرُ
Allahu Akbar
Allah is the Most Great.
...then say:
لَا إِلَهَ إِلَّا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ، لَهُ الْمُلْكُ، وَلَهُ الْحَمْدُ، وَهُوَ عَلَى كُلِّ شَىْءٍ قَدِيرٌ، آيِبُونَ تَائِبُونَ عَابِدُونَ سَاجِدُونَ لِرَبِّنَا حَامِدُونَ، صَدَقَ اللَّهُ وَعْدَهُ وَنَصَرَ عَبْدَهُ وَهَزَمَ الْأَحْزَابَ وَحْدَهُ
لَا اِلٰهَ اِلَّا اللّٰهُ وَحْدَهٗ لَا شَرِيْكَ لَهٗ، لَهُ الْمُلْكُ، وَلَهُ الْحَمْدُ، وَهُوَ عَلٰى كُلِّ شَىْءٍ قَدِيْرٌ، اٰيِبُوْنَ تَائِبُوْنَ عَابِدُوْنَ سَاجِدُوْنَ لِرَبِّنَا حَامِدُوْنَ، صَدَقَ اللّٰهُ وَعْدَهٗ وَنَصَرَ عَبْدَهٗ وَهَزَمَ الْاَحْزَابَ وَحْدَهٗ
Laa 'ilaaha 'illAllahu wahdahu laa shareeka lahu, lahul-mulku, wa lahul-hamdu, wa Huwa 'alaa kulli shay 'in Qadeer, 'aa'iboona taa'iboona, 'aabidoona, sajeedoona, lirabbinaa haamidoona, sadaqAllahu wa'dahu, wa nasara 'abdahu, wa hazamal-'ahzaaba wahdahu
None has the right to be worshipped but Allah alone, Who has no partener. His is the dominion and His is the praise, and He is Able to do all things. We return repentant to our Lord, worshipping our Lord, and praising our Lord. He fulfilled His Promise, He aided His slave, and He alone defeated the Confederates.