Sunan Ibn Majah, Book 2, Hadith 28 (Ibn Majah 694)

It was narrated that Buraidah Al-Aslami said:

"We were with the Messenger of Allah 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.'"