Abdullah bin Umar reported,

The Messenger of Allah ﷺ said, "Do not deliberately schedule your prayers at sunrise or sunset, for the sun rises between the two horns of Satan. When the upper edge of the sun appears, do not pray until it has fully emerged, and when the upper edge of the sun begins to set, do not pray until it has fully disappeared."

Ahmad 4612

Sahih

حدثنا يحيى حدثنا هشام بن عروة أخبرني أبي أخبرني

ابن عمر قال

قال رسول الله ﷺ لا تتحروا بصلاتكم طلوع الشمس ولا غروبها فإنها تطلع بين قرني شيطان فإذا طلع حاجب الشمس فلا تصلوا حتى تبرز وإذا غاب حاجب الشمس فلا تصلوا حتى تغيب

أحمد 4612صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Umar
Numbering
Darussalam 4612
Ahmad 4612