No prayer is valid after the 'Asr prayer till the sun sets and no prayer is valid after the dawn prayer till the sun rises.
Sahih Muslim Book 6, Hadith 351