It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once some people began to ask him about the prayer during travel. He replied that the Prophet (peace and blessings of Allah be upon him), after leaving his home, would continue to perform two rak‘ahs (shortened prayer) until he returned home.