Sahih al-Bukhari #585 · Times of the Prayers

Sahih al-BukhariIbn Umar
Sahih al-Bukhari · Book 9 · Times of the Prayers
Sahih al-Bukhari · كتاب 9 · كتاب مواقيت الصلاة
Allah's Messenger (ﷺ) said, "None of you should try to pray at sunrise or sunset
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ، قَالَ أَخْبَرَنَا مَالِكٌ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ ‏
"‏ لاَ يَتَحَرَّى أَحَدُكُمْ فَيُصَلِّي عِنْدَ طُلُوعِ الشَّمْسِ وَلاَ عِنْدَ غُرُوبِهَا ‏"‏‏.‏
Reference : Sahih al-Bukhari 585In-book reference : Book 9, Hadith 60