Abu Hurairah reported,

The Messenger of Allah ﷺ forbade praying after the afternoon prayer until the sun sets, and praying after the dawn prayer until the sun rises.

Muslim 1920

Sahih

حدثنا يحيى بن يحيى قال قرأت على مالك عن محمد بن يحيى بن حبان عن الأعرج

عن أبي هريرة

أن رسول الله ﷺ نهى عن الصلاة بعد العصر حتى تغرب الشمس وعن الصلاة بعد الصبح حتى تطلع الشمس

مسلم 1920صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Virtues of the Quran and what relates to it
Chapter
Times in which prayer is prohibited
Numbering
Darussalam 1920
Muslim 1920