عَنْ عُقْبَةَ بْنِ عَامِرٍ الْجُهَنِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ: ثَلَاثُ سَاعَاتٍ كَانَ يَنْهَانَا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَنْ نُصَلِّيَ فِيهِنَّ أَوْ أَنْ نَقْبُرَ فِيهِنَّ مَوْتَانَا، حِينَ تَطْلُعُ الشَّمْسُ بَازِغَةً حَتَّى تَرْتَفِعُ وَحِينَ يَقُومُ قَائِمُ الظَّهِيرَةِ حَتَّى تَمِيلَ الشَّمْسُ وَحِينَ تَضَيَّفُ لِلْغُرُوبِ حَتَّى تَغْرُبَ
It is narrated from Sayyiduna Uqbah bin Amir Juhani (may Allah be pleased with him), he says: The Messenger of Allah (peace and blessings be upon him) used to forbid us from performing prayer and burying the dead at three times: when the sun is rising until it becomes high, when the one standing at noon stands, and when it inclines for setting until it sets.