Supplications to be made at Various Times - Section 3 Mishkat al-Masabih 2453
Arabic hadith text
وَعَن جابرٍ قَالَ: كُنَّا إِذَا صَعِدْنَا كَبَّرْنَا وَإِذَا نَزَلْنَا سبحنا. رَوَاهُ البُخَارِيّ
Translation
Jabir said that when they went up to high ground they said, “God is most great,” and when they descended they said, “Glory be to God.” Bukhari transmitted it.