´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 ReferenceSunan an-Nasa'i / The Book of the Times (of Prayer) / Hadith: 564
Hadith Gradingالألبانی:صحيح | زبیر علی زئی:متفق عليه