Sahih al-Bukhari, Book 65, Hadith 56 (Bukhari 4328)

Narrated `Ali (through two chains):

On the day of Al-Khandaq (the battle of the Trench). the Prophet (ﷺ) said, "They (i.e. pagans prevented us from offering the middle (the Best) Prayer till the sun had set. May Allah fill their graves, their houses (or their bodies) with fire."