Riyad as-Salihin (The Meadows of the Righteous)
by Imam Nawawi
177. Chapter: On what one says when he returns and sees his town
987. Anas said, "We continued on with the Prophet, may Allah bless him and grant him peace, until we were in sight of Madina. Then he said, 'Returning, turning in repentance, worshipping our Lord, praising.' He continued saying that until we reached Madina." [Muslim]


