Sahih al-Bukhari, Volume 4, Book 52, Hadith 238 (USC-MSA) ⓘ
Narrated `Abdullah bin `Umar: Whenever the Prophet returned from the Hajj or the `Umra or a Ghazwa, he would say Takbir thrice. Whenever he came upon a mountain path or wasteland, and then he would say, "None has the right to be worshipped but Allah, Alone Who has no partner. All the Kingdom belongs to Him and all the praises are for Him and He is Omnipotent. We are returning with repentance, worshipping, prostrating ourselves and praising our Lord. Allah fulfilled His Promise, granted victory to His slave and He Alone defeated all the clans."
حَدَّثَنَا عَبْدُ اللَّهِ، قَالَ حَدَّثَنِي عَبْدُ الْعَزِيزِ بْنُ أَبِي سَلَمَةَ، عَنْ صَالِحِ بْنِ كَيْسَانَ، عَنْ سَالِمِ بْنِ عَبْدِ اللَّهِ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم إِذَا قَفَلَ مِنَ الْحَجِّ أَوِ الْعُمْرَةِ ـ وَلاَ أَعْلَمُهُ إِلاَّ قَالَ الْغَزْوِ ـ يَقُولُ كُلَّمَا أَوْفَى عَلَى ثَنِيَّةٍ أَوْ فَدْفَدٍ كَبَّرَ ثَلاَثًا ثُمَّ قَالَ " لاَ إِلَهَ إِلاَّ اللَّهُ، وَحْدَهُ لاَ شَرِيكَ لَهُ، لَهُ الْمُلْكُ، وَلَهُ الْحَمْدُ، وَهْوَ عَلَى كُلِّ شَىْءٍ قَدِيرٌ، آيِبُونَ تَائِبُونَ عَابِدُونَ سَاجِدُونَ لِرَبِّنَا حَامِدُونَ، صَدَقَ اللَّهُ وَعْدَهُ، وَنَصَرَ عَبْدَهُ، وَهَزَمَ الأَحْزَابَ وَحْدَهُ " . قَالَ صَالِحٌ فَقُلْتُ لَهُ أَلَمْ يَقُلْ عَبْدُ اللَّهِ إِنْ شَاءَ اللَّهُ قَالَ لاَ.
also referenced under: Book 56, Hadith 204 (In-Book) & Hadith 2995 (DarusSalam)