Ali bin Abu Talib reported,

He was asked about the daytime prayer of the Messenger of Allah ﷺ, and he replied that he used to pray sixteen rakats.He explained, "He would pray two rakats, like the Asr prayer, when the sun was here in the same position as it would be there at the time of Asr. And he would pray four rakats, like the Zuhr prayer, when the sun was here in the same position as it would be there at the time of Zuhr. He would also pray four rakats before Zuhr, two rakats after Zuhr, and four rakats before Asr."

Ahmad 1203

Sahih

حدثنا عبد الله حدثنا أبو كامل الجحدري فضيل بن الحسين إملاء علي من كتابه حدثنا أبو عوانة عن أبي إسحاق عن عاصم بن ضمرة

عن علي رضي الله عنه

أنه سئل عن صلاة رسول الله ﷺ بالنهار فقال كان يصلي ست عشرة ركعة قال يصلي إذا كانت الشمس من هاهنا كهيئتها من هاهنا كصلاة العصر ركعتين وكان يصلي إذا كانت الشمس من هاهنا كهيئتها من هاهنا كصلاة الظهر أربع ركعات وكان يصلي قبل الظهر أربع ركعات وبعد الظهر ركعتين وقبل العصر أربع ركعات

أحمد 1203صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Ali bin Abu Talib
Numbering
Darussalam 1203
Ahmad 1203