Sunan Ibn Majah, Book 2, Hadith 18 (In-Book)

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."

حَدَّثَنَا أَحْمَدُ بْنُ عَبْدَةَ، حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ، عَنْ عَاصِمِ بْنِ بَهْدَلَةَ، عَنْ زِرِّ بْنِ حُبَيْشٍ، عَنْ عَلِيِّ بْنِ أَبِي طَالِبٍ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ يَوْمَ الْخَنْدَقِ ‏ "‏ مَلأَ اللَّهُ بُيُوتَهُمْ وَقُبُورَهُمْ نَارًا كَمَا شَغَلُونَا عَنِ الصَّلاَةِ الْوُسْطَى ‏" ‏ ‏.‏

sunnah.com