ENOfficial
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.
Source: sunnah.com
Other translations
Arabic
وَعَن جابرٍ قَالَ: كُنَّا إِذَا صَعِدْنَا كَبَّرْنَا وَإِذَا نَزَلْنَا سبحنا. رَوَاهُ البُخَارِيّ
sunnah.com