Salim bin Abdullah reports from his father, Abdullah bin Umar (may Allah be pleased with them both), (that he used to say): As long as I have not resolved to stay, I will keep praying the traveller's prayer, even if I have to remain for twelve nights.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 5477