It is narrated from Hazrat Zaid bin Thabit (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) forbade performing prayer at the time of sunrise and sunset, and said that the sun rises between the two horns of Satan.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 21661