Muhammad bin Amr bin Hasan bin Ali reported,

Hajjaj arrived, so we asked Jabir bin Abdullah about the prayer times. He said, "The Prophet ﷺ used to pray Zuhr at midday when the sun was at its peak, Asr while the sun was still bright and clear, Maghrib when the sun had set, and Isha at varying times. Sometimes, when he saw the people had gathered, he would pray it early, and when he saw them delaying, he would postpone it. As for Fajr, they used to pray it," or he said, "the Prophet ﷺ used to pray it in the darkness before dawn."

Bukhari 560

Sahih

حدثنا محمد بن بشار قال حدثنا محمد بن جعفر قال حدثنا شعبة عن سعد بن إبراهيم

عن محمد بن عمرو بن الحسن بن علي قال

قدم الحجاج فسألنا جابر بن عبد الله فقال كان النبي ﷺ يصلي الظهر بالهاجرة والعصر والشمس نقية والمغرب إذا وجبت والعشاء أحيانا وأحيانا إذا رآهم اجتمعوا عجل وإذا رآهم أبطوا أخر والصبح كانوا أو كان النبي ﷺ يصليها بغلس

البخاري 560صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer times
Chapter
Time of Maghrib
Numbering
Darussalam 560
Bukhari 560