Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:10376ʿAlī b. Aḥmad b. ʿAbdān > Aḥmad b. ʿUbayd al-Ṣaffār > ʿUbayd b. Sharīk > Ibn Abū Maryam > Muḥammad b. Jaʿfar > Ḥumayd > Anas

[Machine] He heard Anas saying that whenever the Prophet ﷺ returned from a journey and saw the walls of the city, he would put his camel or his mount into a faster pace, even if it was a female animal.  

البيهقي:١٠٣٧٦أَخْبَرَنَا عَلِيُّ بْنُ أَحْمَدَ بْنِ عَبْدَانَ أنا أَحْمَدُ بْنُ عُبَيْدٍ الصَّفَّارُ ثنا عُبَيْدُ بْنُ شَرِيكٍ ثنا ابْنُ أَبِي مَرْيَمَ ثنا مُحَمَّدُ بْنُ جَعْفَرٍ أَخْبَرَنِي حُمَيْدٌ

أَنَّهُ سَمِعَ أَنَسًا يَقُولُ كَانَ رَسُولُ اللهِ ﷺ إِذَا قَدِمَ مِنْ سَفَرٍ فَأَبْصَرَ جُدْرَانَ الْمَدِينَةِ أَوْضَعَ نَاقَتَهُ وَإِنْ كَانَتْ دَابَّةً حَرَّكَهَا  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ سَعِيدِ بْنِ أَبِي مَرْيَمَ زَادَ فِيهِ إِسْمَاعِيلُ بْنُ جَعْفَرٍ عَنْ حُمَيْدٍ مِنْ حُبِّهَا

See similar narrations below:

Collected by Bukhārī, Bayhaqī
bukhari:1802Saʿīd b. Abū Maryam > Muḥammad b. Jaʿfar > Ḥumayd > Anas

Anas said, "Whenever Messenger of Allah ﷺ returned from a journey, he, on seeing the high places of Medina, would make his she-camel proceed faster; and if it were another animal, even then he used to make it proceed faster." Narrated Humaid that the Prophet ﷺ used to make it proceed faster out of his love for Medina. Narrated Anas: As above, but mentioned "the walls of Medina" instead of "the high places of Medina." Al-Harith bin ʿUmar agrees with Anas.  

البخاري:١٨٠٢حَدَّثَنَا سَعِيدُ بْنُ أَبِي مَرْيَمَ أَخْبَرَنَا مُحَمَّدُ بْنُ جَعْفَرٍ قَالَ أَخْبَرَنِي حُمَيْدٌ

أَنَّهُ سَمِعَ أَنَسًا ؓ يَقُولُ كَانَ رَسُولُ اللَّهِ ﷺ إِذَا قَدِمَ مِنْ سَفَرٍ فَأَبْصَرَ دَرَجَاتِ الْمَدِينَةِ أَوْضَعَ نَاقَتَهُ وَإِنْ كَانَتْ دَابَّةً حَرَّكَهَا قَالَ أَبُو عَبْدِ اللَّهِ زَادَ الْحَارِثُ بْنُ عُمَيْرٍ عَنْ حُمَيْدٍ حَرَّكَهَا مِنْ حُبِّهَا حَدَّثَنَا قُتَيْبَةُ حَدَّثَنَا إِسْمَاعِيلُ عَنْ حُمَيْدٍ عَنْ أَنَسٍ قَالَ جُدُرَاتٍ  

تَابَعَهُ الْحَارِثُ بْنُ عُمَيْرٍ
bayhaqi:10377Abū ʿAbdullāh al-Ḥāfiẓ > ʿAbdullāh b. Muḥammad al-Kaʿbī > Muḥammad b. Ayyūb > ʿAlī b. al-Ḥasan / al-Hisinjānī > Ismāʿīl > Ḥumayd > Anas

Whenever the Prophet ﷺ returned from a journey and observed the walls of Medina, he would make his Mount go fast, and if he was on an animal (i.e. a horse), he would make it gallop because of his love for Medina. (Using translation from Bukhārī 1886)   

البيهقي:١٠٣٧٧أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أنا عَبْدُ اللهِ بْنُ مُحَمَّدٍ الْكَعْبِيُّ ثنا مُحَمَّدُ بْنُ أَيُّوبَ أنا عَلِيُّ بْنُ الْحَسَنِ يَعْنِي الْهِسِنْجَانِيُّ ثنا إِسْمَاعِيلُ عَنْ حُمَيْدٍ عَنْ أَنَسٍ

أَنَّ النَّبِيَّ ﷺ كَانَ إِذَا قَدِمَ مِنْ سَفَرٍ فَنَظَرَ إِلَى جُدْرَانِ الْمَدِينَةِ أَوْضَعَ رَاحِلَتَهُ وَإِنْ كَانَ عَلَى دَابَّةٍ حَرَّكَهَا مِنْ حُبِّهَا  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ قُتَيْبَةَ بْنِ سَعِيدٍ عَنْ إِسْمَاعِيلَ بْنِ جَعْفَرٍ