It was narrated that Buraidah Al-Aslami (RA) said: “We were with the Messenger of Allah (peace be upon him) on a campaign, and he said: ‘Hasten to perform prayer on a cloudy day, for whoever misses the ‘Asr prayer, all his good deeds will be in vain.'”
Sunan Ibn Majah, Book 2, Hadith 28