Abu Huraira is reported to have said that the Messenger of Allah ﷺ prohibited to observe prayer after the 'Asr prayer till the sun is set, and after the dawn till the sun rises. (Using translation from Muslim 825)
«أَنَّ النَّبِيَّ ﷺ نَهَى عَنِ الصَّلَاةِ بَعْدَ الْعَصْرِ حَتَّى تَغْرُبَ الشَّمْسُ وَعَنِ الصَّلَاةِ بَعْدَ الصُّبْحِ حَتَّى تَطْلُعَ الشَّمْسُ»