Sunan an-Nasa'i, Book 24, Hadith 354 (Nasa'i 2977)

Jabir narrated that:

the Messenger of Allah climed up As-Safa until he could see the House, then he said Takbir.