Sahih Muslim 828a
Ibn 'Umar reported Messenger of Allah ﷺ as saying: Let not any one of you intend to observe prayer at the time of the rising of the sun or of the setting sun.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، قَالَ قَرَأْتُ عَلَى مَالِكٍ عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ
" لاَ يَتَحَرَّى أَحَدُكُمْ فَيُصَلِّي عِنْدَ طُلُوعِ الشَّمْسِ وَلاَ عِنْدَ غُرُوبِهَا " .
Classification
Sahih (Authentic)
References
Sahih Muslim 828a
Sahih Muslim Vol. 2, Book of Prayers, Hadith 1806