On the day of the Confederates, the Messenger of Allah ﷺ said, "May Allah fill their houses and their graves with fire, for they distracted us from the middle prayer until the sun had set."
لما كان يوم الأحزاب، قال رسول الله ﷺ: ملأ الله بيوتهم و قبورهم نارا، شغلونا عن الصلاة الوسطى حين غابت الشمس.
Bukhari narrated it in the Book of Jihad and Expeditions (2931), and Muslim in the Book of Mosques and Places of Prayer (627:202), both of them via Hisham (that is, Dastawai), from Muhammad (that is, Ibn Sirin), from Ubayda, from Ali, who related it.