It reached Imam Malik, may Allah have mercy on him, that Sayyiduna Abdullah bin Abbas, may Allah be pleased with them both, used to shorten the prayer for a distance as much as that between Makkah and Ta’if, and as much as that between Makkah and Usfan, and as much as that between Makkah and Jeddah.
Imam Malik, may Allah have mercy on him, said: I like very much, in the matter of shortening (the prayer), and all these distances are four barid each.
Imam Malik, may Allah have mercy on him, said: A traveler should not shorten the prayer until he has left the inhabited area of the city, and he should not stop shortening the prayer until he enters the inhabited area of the city or comes close to it.
Hadith Referenceموطا امام مالك رواية يحييٰ / كتاب قصر الصلاة في السفر / 342