The Prophet ﷺ performed the prayer near Khaybar in the darkness before dawn, then said, "Allah is the Greatest. Khaybar is destroyed. When we descend upon the territory of a people, then evil is the morning of those who were warned." The people came out running through the streets, and the Prophet ﷺ killed the fighters and took the women and children captive... the hadith continues.
صلى النبي ﷺ قريبا من خيبر بغلس ثم قال: الله أكبر، خربت خيبر إنا إذا نزلنا بساحة قوم فساء صباح المنذرين فخرجوا يسعون في السكك، فقتل النبي ﷺ المقاتلة، وسبى الذرية… الحديث.