Anas ibn Malik reported: When the Prophet, peace and blessings be upon him, returned from a journey and saw the walls of Medina from afar, he would quicken his pace and, if he was on an animal, he would make it gallop out of his love for Medina.
Source: Ṣaḥīḥ al-Bukhārī 1787
Grade: Sahih (authentic) according to Al-Bukhari
عَنْ أَنَسٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ إِذَا قَدِمَ مِنْ سَفَرٍ فَنَظَرَ إِلَى جُدُرَاتِ الْمَدِينَةِ أَوْضَعَ رَاحِلَتَهُ وَإِنْ كَانَ عَلَى دَابَّةٍ حَرَّكَهَا مِنْ حُبِّهَا
1787 صحيح البخاري كتاب فضائل المدينة باب المدينة تنفي الخبث