I prayed with the Messenger of Allah ﷺ both at home and while traveling. At home, he prayed Dhuhr as four units followed by two units after, prayed Asr as four units with nothing after, prayed Maghrib as three units followed by two units after, and prayed Isha as four units.While traveling, he prayed Dhuhr as two units followed by two units after, prayed Asr as two units with nothing after, prayed Maghrib as three units followed by two units after, and prayed Isha as two units followed by two units after.
حدثنا يحيى بن آدم حدثنا حسن يعني ابن صالح عن فراس عن عطية العوفي
صليت مع رسول الله ﷺ في الحضر والسفر فصلى الظهر في الحضر أربعا وبعدها ركعتين وصلى العصر أربعا وليس بعدها شيء وصلى المغرب ثلاثا وبعدها ركعتين وصلى العشاء أربعا وصلى في السفر الظهر ركعتين وبعدها ركعتين والعصر ركعتين وليس بعدها شيء والمغرب ثلاثا وبعدها ركعتين والعشاء ركعتين وبعدها ركعتين
Its isnad is daif. Firas is Ibn Yahya Hamdani, whose reliability was established earlier at 4333. Atiya is Ibn Saad bin Junada Awfi, and he is daif, as we explained at 3010.Tirmidhi (1:386) narrated this hadith, the part about voluntary prayer after Dhuhr prayer, through the route of Hajjaj bin Artah, from Atiya, from Ibn Umar, and said, "Hasan hadith." Ibn Abu Layla also narrated it from Atiya and Nafi, from Ibn Umar. Tirmidhi then narrated it through the route of Ibn Abu Layla, from Atiya and Nafi, from Ibn Umar, at greater length in a manner similar to what is here, and then said, "Hasan hadith. I heard Muhammad" (meaning Bukhari) "say, Ibn Abu Layla narrated no hadith more remarkable to me than this one."This second isnad, as found in Tirmidhi, is hasan, just as he said.