Sunan an-Nasa'i
Sunan an-Nasa'i 563
The Prohibition Of Praying While The Sun Is Rising
Arabic hadith text
أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " لاَ يَتَحَرَّ أَحَدُكُمْ فَيُصَلِّيَ عِنْدَ طُلُوعِ الشَّمْسِ وَعِنْدَ غُرُوبِهَا "
Translation
It was narrated from Ibn 'Umar that the Messenger of Allah (ﷺ) said
"No one of you should deliberately try to pray when the sun is rising, or when it is setting."