Sayyiduna Abdullah bin Umar (may Allah be pleased with them) narrates: The Noble Prophet (peace and blessings be upon him) said: "Do not try to perform prayer at the time of sunrise or at the time of sunset, because it sets between the two horns of Satan."
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1569
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «الإرواء» (479).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما.