عَنْ عَلِيٍّ رَضِيَ اللَّهُ عَنْهُ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَنَّهُ قَالَ: ((لَا تُصَلُّوا بَعْدَ الْعَصْرِ إِلَّا أَنْ تُصَلُّوا وَالشَّمْسُ مُرْتَفِعَةٌ))
It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Do not perform prayer after Asr, except when the sun is still high; during that time, you may pray.