Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) narrates that none of you should perform prayer at the time of sunrise or sunset, because the Noble Prophet (peace and blessings of Allah be upon him) used to prohibit this.
Hadith Referenceالمنتقى ابن الجارود / كتاب الصلاة / 280
Hadith Gradingغلام مصطفےٰ ظهير امن پوري:صحيح
Hadith Takhrijاز غلام مصطفےٰ ظهير امن پوري:«صحيح البخاري : 583 ، صحيح مسلم : 828-829»