Prayer: Reaching the Permitted Limit During Prayer
Practical Laws of Islam as per the teachings of Ayatullah Sistani
Ruling 1307
If before reaching the permitted limit a person who is sitting on a ship or train starts performing prayers with the intention of tamām prayers, but before performing rukūʿ of the third rakʿah he reaches the permitted limit, he must perform prayers in qaṣr form.


