Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "None of you should deliberately time his prayer to coincide with sunrise or sunset."

Bukhari 585

Sahih

حدثنا عبد الله بن يوسف قال أخبرنا مالك عن نافع

عن ابن عمر

أن رسول الله ﷺ قال لا يتحرى أحدكم فيصلي عند طلوع الشمس ولا عند غروبها

البخاري 585صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer times
Chapter
Not seeking to pray before sunset
Numbering
Darussalam 585
Bukhari 585