Bulugh al-Maram 164
وَلَهُ عَنْ عُقْبَةَ بْنِ عَامِرٍ: ثَلَاثُ سَاعَاتٍ كَانَ رَسُولُ اللَّهِ - صلى الله عليه وسلم - يَنْهَانَا أَنْ نُصَلِّي فِيهِنَّ, وَأَنْ نَقْبُرَ فِيهِنَّ مَوْتَانَا: حِينَ تَطْلُعُ الشَّمْسُ بَازِغَةً حَتَّى تَرْتَفِعَ, وَحِينَ يَقُومُ قَائِمُ الظَّهِيرَةِ حَتَّى تَزُولَ الشَّمْسُ, وَحِينَ تَتَضَيَّفُ الشَّمْسُ لِلْغُرُوبِ. وَالْحُكْمُ الثَّانِي عِنْدَ «الشَّافِعِيِّ» مِنْ:
And he has, from ʿUqbah ibn ʿAmir: There were three times at which the Messenger of Allah ﷺ used to forbid us to pray, or to bury our dead: when the sun is rising until it is high, when the sun is at its zenith at midday until it passes the zenith, and when the sun is inclining to set. And the second ruling is with ash-Shafiʿi from: