Al-Ilmam bi-Ahadith al-Ahkam 145
وَعَن عقبَة بن عَامر (الْجُهَنِيّ) رَضِيَ اللَّهُ عَنْه، قَالَ: " ثَلَاث سَاعَات كَانَ رَسُول الله ﷺ ينهانا أَن نصلي فِيهِنَّ ﷺ أَو أَن نقبر فِيهِنَّ مَوتَانا: حِين تطلع الشَّمْس بازغة حَتَّى ترْتَفع، وَحين يقوم قَائِم الظهيرة حَتَّى تميل الشَّمْس، وَحين تَضَيَّفُ الشَّمْس للغروب حَتَّى تغرب ". أخرجه مُسلم.
From ʿUqbah ibn ʿAmir (al-Juhani), may Allah be pleased with him, who said: "There were three times at which the Messenger of Allah ﷺ forbade us to pray or to bury our dead: when the sun is rising until it is up, when the sun is at its zenith at midday until it passes the zenith, and when the sun is inclining to set until it sets." Muslim reported it.