Sunan Ibn Majah, Book 24, Hadith 19 (Ibn Majah 2773)

It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) said to a man:

“I advise you to fear Allah and to say the Takbir (Allahu Akbar) in every high place.”