Uqba bin Amir reported,

There are three times during which the Messenger of Allah ﷺ forbade us from praying or burying our dead. When the sun begins to rise until it has fully risen, when the sun is at its zenith at midday until it passes the meridian, and when the sun is leaning toward setting until it has set.

Nasai 2015

Sahih

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

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

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

النسائي 2015صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Funerals
Chapter
Hours in which burying the dead is prohibited
Numbering
Darussalam 2015
Nasai 2015