Ubayy said, I asked Sufyan, "Did he hear it directly?"He replied, "He claimed so. The Messenger of Allah ﷺ forbade prayer after the afternoon prayer until the sun sets, and after the dawn prayer until the sun rises."
حدثنا سفيان عن ضمرة
أبي قلت سفيان سمعه قال زعم نهى رسول الله ﷺ عن صلاة بعد العصر حتى تغرب وبعد الصبح حتى تطلع