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
Hadith No. 563
Sunan an Nasai
Gradings:
Abu Ghuddah:
Sahih
Al-Albani:
Sahih
Zubair Ali Zai:
Sahih - Agreed Upon