The minimum distance between two mosques where Friday prayers are offered is one farsakh which is about six kilometers, and it is measured by the routes available between the two mosques if they are usual. If the route between them is longer than mentioned distance in an unusual way - for instance, if a natural barrier like a river is between the two mosques and an unusual detour is required to reach the other mosque - then this is not a sufficient distance.