Volume 3 · Book 30 · Hadith 110
Narrated 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.
— Sahih Bukhari, Volume 3, Book 30: Virtues of Madinah, Hadith #110