If you get separated from someone or something you love, you want to get back to it as soon as you can, right?
Volume 3, Book 27, Number 28:
Anas (radiallaahu `anhu) said, “Whenever Allah’s Apostle (sallallaahu `alayhi wasallam) returned from a journey, he, on seeing the high places of Medina, would make his she-camel proceed faster; and if it were another animal, even then he used to make it proceed faster.”
Narrated Humaid that the Prophet (sallallaahu `alayhi wasallam) used to make it proceed faster out of his love for Medina.
Volume 3, Book 27, Number 29:
Narrated Anas (radiallaahu `anhu):
As above, but mentioned “the walls of Medina” instead of “the high places of Medina. Al-Harith bin Umar agrees with Anas (radiallaahu `anhu).
Prophet (sallallaahu `alayhi wasallam) loved his city Madinah. It’s obvious that he would want to get back to it quickly after returning from a long journey. Isn’t it cute? :)
May Allah instill its love in our hearts as well. <3
Did you know? There’s a du`a that Prophet (sallallaahu `alayhi wasallam) used to make every time he would return to his hometown after a journey – be it a battle, or Hajj, or `Umrah etc.
Narrated ‘Abdullah bin ‘Umar (radiallaahu `anhu):
Whenever Allah’s Apostle (sallallaahu `alayhi wasallam) returned from a Ghazwa, Hajj or ‘Umra, he used to say Takbir thrice at every elevation of the ground and then would say, “None has the right to be worshipped but Allah; He is One and has no partner. All the kingdoms is for Him, and all the praises are for Him, and He is Omnipotent. We are returning with repentance, worshiping, prostrating, and praising our Lord. He has kept up His promise and made His slave victorious, and He Alone defeated all the clans of (non-believers).”
Here’s the du`a in Arabic. Must memorize it!
لا إله إلا الله وحده لا شريك له له الملك وله الحمد وهو على كل شيء قدير آيبون تائبون عابدون ساجدون لربنا حامدون صدق الله وعده ونصر عبده وهزم الأحزاب وحده
Transliteration: “Laa ‘ilaaha ‘illallaahu wahdahu laa shareeka lahu, lahul-mulku, wa lahul-hamdu, wa Huwa ‘alaa kulli shay ‘in Qadeer, ‘aa’iboona, taa’iboona, ‘aabidoona, saajidoona, lirabbinaa haamidoona, sadaqallaahu wa’dahu, wa nasara ‘abdahu, wa hazamal-‘ahzaaba wahdahu.”
Narrated Yahya bin Ishaq:
I heard Anas saying, “We travelled with the Prophet from Medina to Mecca and offered two Rakat (for every prayer) till we returned to Medina.” I said, “Did you stay for a while in Mecca?” He replied, “We stayed in Mecca for ten days.”
Distance between Makkah and Madinah = 338.9 km (approx.)
The majority of scholars defined the distance at which a traveller may shorten his prayers; and some of them did not set a limit, rather they left that to be decided by custom (al-‘urf) – what is customarily regarded by the people as travelling is where the concession is granted allowing the traveller to shorten his prayers and break his fast.
According to the majority of scholars, the distance is defined as being approximately eighty kilometers.
It says in Fataawa al-Lajnah al-Daa’imah (8/99): The distance in which the concession of traveling is allowed is that which is customarily regarded as travelling, which is approximately eighty kilometers. Whoever is going to travel this distance or more is allowed to avail himself of the concessions granted to travellers, namely wiping over the socks for three days and nights, and joining and shortening prayers, and not fasting in Ramadaan.
..And there is no difference between travel by land or by sea.
[Taken from IslamQA]
So travelling within a city or close by does not mean you can shorten prayers. Minimum distance defined above.