Uqba bin Amir reported,

There are three times during which the Messenger of Allah ﷺ forbade us to pray or to bury our dead. When the sun begins to rise until it has risen high, when the sun is at its zenith at midday until it passes the meridian, and when the sun draws near to setting until it has set.

Nasai 561

Sahih

أخبرنا سويد بن نصر قال حدثنا عبد الله عن موسى بن علي بن رباح قال سمعت أبي يقول سمعت

عقبة بن عامر الجهني يقول

ثلاث ساعات كان رسول الله ﷺ ينهانا أن نصلي فيهن أو نقبر فيهن موتانا حين تطلع الشمس بازغة حتى ترتفع وحين يقوم قائم الظهيرة حتى تميل وحين تضيف الشمس للغروب حتى تغرب

النسائي 561صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Times of prayer
Chapter
Times in which prayer is prohibited
Numbering
Darussalam 561
Nasai 561