Sayyiduna Uqbah bin Amir (may Allah be pleased with him) said that the Prophet (peace and blessings be upon him) forbade praying and burying the dead at three times: "When the sun is rising and shining until it is high, when it is midday until the sun declines, and when the sun inclines to set until it has set."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4382