Umm al-Mu'mineen Aisha (may Allah be pleased with her) says: Umar (may Allah be pleased with him) was mistaken. The Messenger of Allah (peace and blessings of Allah be upon him) only said: "Do not intend to pray at the time of sunrise or sunset, because it rises between the two horns of Satan."
Hadith Referenceسنن نسائي / كتاب المواقيت / 571
Hadith Gradingالألبانی:صحيح دون قوله فإنها ... | زبیر علی زئی:صحيح مسلم
Hadith Takhrij«صحیح مسلم/المسافرین 53 (833)، (تحفة الأشراف: 16158)، مسند احمد 6/ 124، 255 (کلاھما بدون قولہ ’’فإنھا…‘‘ (صحیح)»