Hanafi jurisprudence applies travel rules when a qualifying journey exists, regardless of a sinful purpose. Al-Shafi‘i does not grant travel concessions for a journey undertaken for sinful aims.
The Hanafi reasoning separates the legal cause of travel from the traveller’s moral intent, while the Shafi‘i reasoning denies that a concession should support a prohibited undertaking.