There are three times during which the Messenger of Allah ﷺ forbade us to pray or to bury our dead: when the sun is rising until it has fully ascended, when the sun is at its zenith at midday until it begins to decline, and when the sun is drawing near to setting until it has set.
ثلاث ساعات كان رسول الله ﷺ ينهانا أن نصلي فيهن، أو نقبر فيهن موتانا: حين تطلع الشمس بازغة حتى ترتفع، وحين يقوم قائم الظهيرة حتى تميل الشمس، وحين تضيف الشمس للغروب حتى تغرب.
Muslim narrated it in the Book of the Prayer of Travelers (831), from Yahya bin Yahya, who said, Abdullah bin Wahb narrated to us, from Musa bin Ali, from his father, who said, I heard Uqba bin Amir Juhani say, then he related the hadith.His saying "bazighah" means rising. His saying "tadif" means it inclined toward setting.