Sayyiduna Ibn Umar (may Allah be pleased with them both) said: When the Messenger of Allah (peace and blessings be upon him) returned from Hajj or Umrah, whenever he climbed a hill or an elevated place he would say the takbir three times, and then say: "There is no god worthy of worship except Allah, alone, without partner; to Him belongs the dominion and to Him belongs all praise, and He has power over all things. We are returning, repenting, worshipping, prostrating, and praising our Lord. Allah fulfilled His promise, helped His servant, and alone defeated the confederates."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13139