Yahya related to me from Malik that he had heard that Abdullahibn Abbas used to shorten the prayer when he travelled a distanceequivalent to that between Makka and Ta'if, and that between Makka andUsfan and that between Makka and Jedda.Malik said, "That isfour mail-stages, and to me that is the most preferable distance forshortening the prayer."Malik said, "Someone who intends totravel does not shorten the prayer until he has left the houses of thevillage. And he does not do it in full until he comes to the firsthouses of the village, or is nearby."
USC-MSA web (English) reference: Book 9, Hadith 17
Arabic reference: Book 9, Hadith 345