The Prophet (ﷺ) prohibited to offer prayer after the afternoon prayer except at the time…

Sunan Abu Dawud Book 5 Hadith 25

Sunan Abu Dawud #1274

Prayer (Kitab Al-Salat): Voluntary Prayers 5:25

Narrated Ali ibn AbuTalib:

The Prophet (ﷺ) prohibited to offer prayer after the afternoon prayer except at the time when the sun is high up in the sky.

Chapter: Those Who Allowed These Two Rak'ahs To Be Prayed If The Sun Is Still High

Grade: Sahih (Al-Albani)