Hadith Q1284

وَالدَّلِيلِ عَلَى أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ إِنَّمَا نَهَى عَنِ الصَّلَاةِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ إِذَا كَانَتِ الشَّمْسُ غَيْرَ مُرْتَفِعَةٍ، فَدَانَتْ لِلْغُرُوبِ
And the evidence for the fact that the Noble Prophet (peace be upon him) forbade performing voluntary prayers after ‘Asr until sunset is that this prohibition applies when the sun is not high and is near to setting.
Hadith Reference صحيح ابن خزيمه / جماع أبواب الأوقات التى ينهى عن صلاة التطوع فيهن / Q1284