It is narrated from Hazrat Anas (may Allah be pleased with him) that when the Prophet (peace and blessings be upon him) would return from a journey and his eyes would fall upon the walls of Madinah, he would dismount from his ride, and if he remained on the ride, he would hasten its pace out of love for Madinah.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 12618
Hadith Gradingحکم دارالسلام:إسناده صحيح كسابقه، خ: 2944، م: 382