Sayyiduna Abdullah bin Umar, may Allah be pleased with them both, narrates this statement of the Prophet Muhammad, peace and blessings be upon him: "No person should attempt to perform prayer when the sun is near rising or when the sun is near setting."
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 1566
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - مضى (1546). تنبيه!! رقم (1546) = (1548) من «طبعة المؤسسة». - مدخل بيانات الشاملة -.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرطهما.