In this Hadīth, the Prophet (may Allah's peace and blessings be upon him) commands us to not offer prayer when the edge of the sun that appears first at sunrise shows until the entire sun rises and becomes high in the sky. We should also avoid prayer when the edge of the sun disappears until the sun has completely set. The Prophet has forbidden us from praying at times of sunrise and sunset because the sun rises and sets between the two horns of the devil, i.e. the two sides of his head. This is because the devil faces the sun when it rises so that it rises between his two horns, so that he becomes a Qiblah for those who prostrate themselves before the sun. The same happens during sunset. Therefore, we are prohibited from praying at these times to avoid resembling those people in their false worship.
- صحيح البخاري، نشر: دار طوق النجاة (مصورة عن السلطانية بإضافة ترقيم محمد فؤاد عبد الباقي)، الطبعة: الأولى، 1422ه. - صحيح مسلم، تحقيق: محمد فؤاد عبد الباقي، نشر: دار إحياء التراث العربي – بيروت. - عمدة القاري شرح صحيح البخاري، لمحمود بن أحمد بن موسى الحنفى بدر الدين العينى، الناشر: دار إحياء التراث العربي – بيروت. - مرقاة المفاتيح شرح مشكاة المصابيح، لعلي بن سلطان الملا الهروي القاري، الناشر: دار الفكر، بيروت – لبنان، الطبعة: الأولى، 1422هـ - 2002م. - شرح الطيبي على مشكاة المصابيح المسمى بـ (الكاشف عن حقائق السنن), شرف الدين الحسين بن عبد الله الطيبي, المحقق: د. عبد الحميد هنداوي, الناشر: مكتبة نزار مصطفى الباز - مكة المكرمة - الرياض, الطبعة: الأولى، 1417 هـ - 1997 م.