The prayer was prescribed as consisting of two rak'ahs, the prayer in travelling remained the same, but the prayer at the place of residence was completed. (Zuhri said he asked 'Urwa why 'A'isha said prayer in the complete form during journey, and he replied that she interpreted the matter herself as 'Uthman did.)
Reference: Sahih Muslim 685 c In-book : Book 6, Hadith 3 USC-MSA web (English) : Book 4, Hadith 1460 (deprecated)
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.