When the Prophet would return from a trip and see the walls of Al-Madinah, he would speed up his riding camel, and if he was upon a beast, he would agitate it, out of his love for Al-Madinah. (Using translation from Tirmidhī 3441)
أَنَّ النَّبِيَّ ﷺ كَانَ إِذَا قَدِمَ مِنْ سَفَرٍ فَنَظَرَ إِلَى جُدُرَاتِ الْمَدِينَةِ أَوْضَعَ نَاقَتَهُ وَإِنْ كَانَ عَلَى دَابَّةٍ حَرَّكَهَا مِنْ حُبِّهَا