About SafarSalah

A careful, free tool for one of the most common questions a Muslim traveller asks.

Every trip raises the same question: have I travelled far enough to shorten my prayer, and for how long does that last? The answer depends on where your town ends, how far the route really is, how long you intend to stay, and which school of fiqh you follow. Most online answers give a single number and stop there.

SafarSalah tries to answer the question the way a knowledgeable friend would. It finds the mapped boundary of your home town, follows the road you would actually take, and measures only the part of the journey beyond your town. It then applies the conditions set by your madhab or marja', and shows how the other schools would treat the same trip.

What we cover

The calculator currently supports the Hanafi school (with both the Deobandi and Barelvi distance reckonings), the Shafi'i, Maliki and Hanbali schools, the Salafi position of Shaykh Ibn Baz and the Permanent Committee, the three-farsakh view held by some Ahl-e-Hadith scholars, and Shia Ja'fari fiqh following Ayatollah Sistani and Ayatollah Khamenei.

We have not yet added Zaydi, Ismaili or Ibadi rulings because we could not verify them to the same standard. If you can point us to authoritative sources, please get in touch.

How we source rulings

Each school's rules are taken from its standard teaching texts and from the published rulings of recognised institutions and maraji'. Where scholars within a school convert classical distances differently, we show the most widely used figure and let you enter your own scholar's threshold.

Not a fatwa

This site explains and applies published rulings. It does not issue fatwas. For situations that fall between the rules, such as long work contracts, multiple homes, or travelling for a living, please ask a qualified scholar.

Map and data credits

Place search uses Photon by Komoot. Boundaries come from OpenStreetMap via Nominatim. Road distances come from OSRM. Map tiles come from OpenStreetMap. Map data is © OpenStreetMap contributors.