It is narrated from Sayyiduna Jabir (may Allah be pleased with him). He said: When we ascended to a height, we would say Allahu Akbar, and when we descended, we would say Subhan Allah.
Brief Explanation
(Commentary on Hadith 2708)
The statement of any Companion that "we used to do such-and-such" holds the status of being marfu‘ (attributed to the Prophet sallallahu alayhi wa sallam). Therefore, saying "Allahu Akbar" while ascending and "Subhan Allah" while descending is established.