IT IS SUNNAH to say what we have mentioned in the hadith related by Ibn ‘Umar (رَضِيَ اللَّهُ عَنْهُ), in the chapter on what to say when ascending and descending.
We relate in the Ṣaḥīḥ of Muslim that Anas (رَضِيَ اللَّهُ عَنْهُ) narrated: “We returned with the Prophet (صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ), Abū Ṭalḥah and I, and Ṣafiyyah was riding behind him on his she-camel. When we were close to Madīnah he said: ‘Returning, repenting, worshipping, praising our Lord.’ He continued to say that until we reached Madīnah.” [1].
آئِبُونَ تَائِبُونَ عَابِدُونَ لِرَبِّنَا حَامِدُونَ
Ā’ibūna tā’ibūna ‘ābidūn, li-Rabbinā ḥāmidūn.
References
[1] Muslim (1345).