Abdullah bin Amr bin As reported,

The Messenger of Allah ﷺ addressed them while leaning his back against the Kaabah and said, "There is no prayer after the afternoon prayer until the sun sets, and no prayer after the morning prayer until the sun rises."

Azami 2494

Hasan

عن عبد الله بن عمرو قال

إن رسول الله ﷺ خطبهم وهو مسند ظهره إلى الكعبة فقال: لا صلاة بعد العصر حتى تغرب الشمس، ولا صلاة بعد صلاة الغداة حتى تطلع الشمس.

الأعظمي 2494حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Forbidden times for prayer
Section
Prohibition of prayer after Fajr and after Asr
Numbering
Jami al-Kamil 2494 (2nd edition)
Azami 2494