Hadith 1040

‘Uqba b. ‘Amir said: There were three times at which God’s Messenger used to forbid us to pray or bury our dead—when the sun begins to rise till it is fully up, when the sun is at its height at midday till it passes the meridian, and when the sun draws near to setting till it sets. Muslim transmitted it.

وَعَنْ عُقْبَةَ بْنِ عَامِرٍ قَالَ: ثَلَاثُ سَاعَاتٍ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ينهانا أَن نصلي فِيهِنَّ أَو نَقْبُرَ فِيهِنَّ مَوْتَانَا: حِينَ تَطْلُعُ الشَّمْسُ بَازِغَةً حَتَّى تَرْتَفِعَ وَحِينَ يَقُومُ قَائِمُ الظَّهِيرَةِ حَتَّى تَمِيلَ الشَّمْسُ وَحِينَ تَضَيَّفُ الشَّمْسُ لِلْغُرُوبِ حَتَّى تغرب. رَوَاهُ مُسلم

Reference: 5610400
In-book reference: Book 4, Hadith 1040