Hadithcore
Sunan an-Nasa'i, 564
sahih· Darussalam

It was narrated from Ibn 'Umar that the Messenger of Allah (ﷺ) forbade praying when the sun is rising or setting.

أَخْبَرَنَا إِسْمَاعِيلُ بْنُ مَسْعُودٍ، أَنْبَأَنَا خَالِدٌ، حَدَّثَنَا عُبَيْدُ اللَّهِ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى أَنْ يُصَلَّى مَعَ طُلُوعِ الشَّمْسِ أَوْ غُرُوبِهَا ‏.‏

References2 variants
In-Book Reference
Book 6, Hadith 71
English Reference
Vol. 1, Book 6, Hadith 565
Related hadiths3
Compare isnād across 3 related chains →