Sahih Muslim #627 a
The Book of Mosques and Places of Prayer 5:256
'Ali reported:
When it was the day (of the Battle) of Ahzab, the Messenger of Allah (ﷺ) said: May Allah fill their graves and houses with fire, as they detained us and diverted us from the middle prayer, till the sun set.