It was narrated that Musa bin 'Ali bin Rabah said:
"I heard my father say: 'I heard 'Uqbah bin 'Amir Al-Juhani say: There are three times during which the Messenger of Allah (ﷺ) forbade us to pray in or bury our dead: When the sun has clearly stated to rise, until it is fully risen; when it is directly overhead at noon, until it has passed its zenith; and when it is close to setting, until it has fully set.'"
English reference: Vol. 1, Book 6, Hadith 561
Arabic reference: Book 6, Hadith 565