Sunan Ibn Majah, Book 2, Hadith 18 (Ibn Majah 684)
It was narrated from 'Ali bin Abu Talib that,:
On the Day of Khandaq, the Messenger of Allah said: "May Allah fill their houses and graves with fire, just as they distracted us from the middle prayer."