Sahih Bukhari · Hadith 585
Times of the Prayers - كتاب مواقيت الصلاة
حدثنا عبد الله بن يوسف، قال أخبرنا مالك، عن نافع، عن ابن عمر، أن رسول الله صلى الله عليه وسلم قال " لا يتحرى أحدكم فيصلي عند طلوع الشمس ولا عند غروبها ".
Narrated Ibn `Umar: Allah's Apostle said, "None of you should try to pray at sunrise or sunset."
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).