Sunan an-Nasa'i #563 · The Book of the Times (of Prayer)

Sunan an-Nasa'iIt was narrated from Ibn 'Umar that the Messenger of Allah
Sunan an-Nasa'i · Book 6 · The Book of the Times (of Prayer)
Sunan an-Nasa'i · كتاب 6 · كتاب مواقيت الصلاة
"No one of you should deliberately try to pray when the sun is rising, or when it is setting
أَخْبَرَنَا قُتَيْبَةُ بْنُ سَعِيدٍ، عَنْ مَالِكٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏
"‏ لاَ يَتَحَرَّ أَحَدُكُمْ فَيُصَلِّيَ عِنْدَ طُلُوعِ الشَّمْسِ وَعِنْدَ غُرُوبِهَا ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 563In-book reference : Book 6, Hadith 70