If someone wants to pass through his home town and stay there before travelling eight farsakhs, or if he wants to stay at a place for ten days, and similarly, if someone is unsure about passing through his home town, or he is unsure about staying at a place for ten days, then, if he changes his mind about staying in a place for ten days or passing through his home town, he must perform tamām prayers.
However, if the remaining distance, even with the return journey added, is eight farsakhs, he must perform qaṣr prayers. Fifth condition: one must not travel for an unlawful purpose. If a person travels for an unlawful purpose, such as theft, he must perform tamām prayers.
The same applies if the journey itself is unlawful; for example, it is harmful for him in that it can result in death or the loss of a limb, or a wife travels without the consent of her husband on a journey that is not obligatory. However, if it is like a journey for obligatory hajj, she must perform qaṣr prayers.