كتاب المواقيت
6  
The Book of the Times (of Prayer)
(33)
Chapter: The Prohibition Of Praying While The Sun Is Rising
(33)
باب النَّهْىِ عَنِ الصَّلاَةِ عِنْدَ طُلُوعِ الشَّمْسِ ‏
Sunan an-Nasa'i 563
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."
أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ يَتَحَرَّ أَحَدُكُمْ فَيُصَلِّيَ عِنْدَ طُلُوعِ الشَّمْسِ وَعِنْدَ غُرُوبِهَا ‏"‏ ‏.‏
Grade: Sahih (Darussalam)
Reference : Sunan an-Nasa'i 563
In-book reference : Book 6, Hadith 70
English translation : Vol. 1, Book 6, Hadith 564