Abdullah b. 'Amr reported the Apostle ﷺ saying: The time of the noon prayer (lasts) as long as it is not afternoon, and the time of the afternoon prayer (lasts) as long as the sun does not turn pale and the time of the evening prayer (lasts) as long as the spreading appearance of the redness above the horizon after sunset does not sink down, and the, time of the night prayer (lasts) by midnight and the time of the morning prayer (lasts) as long as the sun dots not rise.
This hadith also teaches us about discipline and punctuality as we must be mindful about our obligations and fulfill them within their designated timeframe in order to reap its rewards from Allah SWT. Additionally, this hadith encourages us to be mindful about our actions throughout our day so that we can make sure we have enough time left over for our prayers before they expire.