The Prophet (ﷺ) prohibited to offer prayer after the afternoon prayer except at the time when the sun is high up in the sky.
Sunan Abi Dawud Book 5, Hadith 25