The World Federation One Stop Fiqh

Ruling 1758

Based on obligatory precaution, it is necessary for a muʿtakif to take the shortest route when he leaves the place of iʿtikāf or returns to it. However, if by using a longer route he would end up staying outside the mosque for a shorter time, he must choose that longer route [i.e. the route could be longer in distance but quicker to traverse due to it being, say, less busy].