It was narrated from Ibn 'Umar that the Messenger of Allah ﷺ forbade praying when the sun is rising or setting.
أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى أَنْ يُصَلَّى مَعَ طُلُوعِ الشَّمْسِ أَوْ غُرُوبِهَا
It was narrated from Ibn 'Umar that the Messenger of Allah ﷺ forbade praying when the sun is rising or setting.
أَنَّ رَسُولَ اللَّهِ ﷺ نَهَى أَنْ يُصَلَّى مَعَ طُلُوعِ الشَّمْسِ أَوْ غُرُوبِهَا
It was narrated from Ibn 'Umar that the Messenger of Allah ﷺ forbade praying when the sun is rising or setting. (Using translation from Nasāʾī 564)
«أَنَّ رَسُولَ اللهِ ﷺ نَهَى أَنْ يُصَلَّى مَعَ طُلُوعِ الشَّمْسِ أَوْ غُرُوبِهَا»