Sahih al-Bukhari — Virtues of Madinah — Hadith No: 1886
Translation
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