Sayyiduna Ibn Umar (may Allah be pleased with them both) narrates: The Messenger of Allah (peace and blessings be upon him) forbade praying at the time the sun is rising and at the time it is setting.
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 13352