Abu Abdullah Sanabahi reported,

The Messenger of Allah ﷺ said, "The sun rises between the two horns of Satan," or he said, "the two horns of Satan rise along with it. When it has risen, he departs from it. When it reaches the middle of the sky, he joins it again. When it begins to decline," or he said, "when it passes the meridian, he departs from it. When it draws near to setting, he joins it again, and when it sets, he departs from it. So do not pray during these three times."

Ibn Majah 1253

Sahih

حدثنا إسحق بن منصور أنبأنا عبد الرزاق أنبأنا معمر عن زيد بن أسلم عن عطاء بن يسار

عن أبي عبد الله الصنابحي

أن رسول الله ﷺ قال إن الشمس تطلع بين قرني الشيطان أو قال يطلع معها قرنا الشيطان فإذا ارتفعت فارقها فإذا كانت في وسط السماء قارنها فإذا دلكت أو قال زالت فارقها فإذا دنت للغروب قارنها فإذا غربت فارقها فلا تصلوا هذه الساعات الثلاث

ابن ماجه 1253صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Times when prayer is disliked
Numbering
Darussalam 1253
Ibn Majah 1253