Sahih Muslim · Hadith 1961
The Book of Prayer (Travellers) - كتاب صلاة المسافرين وقصرها
حدثنا يحيى بن يحيى، قال قرأت على مالك عن نافع، عن ابن عمر، أن رسول الله صلى الله عليه وسلم قال " لا يتحرى أحدكم فيصلي عند طلوع الشمس ولا عند غروبها " .
Ibn 'Umar reported Allah's Messenger (may peace be upon him) as saying: Do not intend to observe prayer at the time of the rising of the sun nor at its setting, for it rises between the horns of Satan.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).