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)
أَنَّ النَّبِيَّ ﷺ كَانَ إِذَا «قَدِمَ مِنْ سَفَرٍ فَنَظَرَ إِلَى جُدُرَاتِ الْمَدِينَةِ أَوْضَعَ رَاحِلَتَهُ إِنْ كَانَ عَلَى دَابَّةٍ حَرَّكَهَا مِنْ حُبِّهَا»