Could you reference the narration?
“Whenever Rasulullah (sallallahu ‘alayhi wa sallam) returned from a journey and saw the walls/high parts of Madinah he would spur on his camel and if he was on an animal [a horse/donkey] he would make it gallop out of his love for Madinah”
Imam Bukhari (rahimahullah) has recorded this narration on the authority of Sayyiduna Anas ibn Malik (radiyallahu ‘anhu).
(Sahih Bukhari, Hadith: 1802 and 1886)
And Allah Ta’ala Knows best.
Answered by: Moulana Suhail Motala
Approved by: Moulana Muhammad Abasoomar