Abdullah bin Umar reported,

The Prophet ﷺ said on the day of the Battle of the Confederates, "None of you should pray the afternoon prayer except in the territory of Banu Qurayzah."The afternoon prayer time caught some of them while they were still on the way.Some of them said, "We will not pray until we reach there."Others said, "Rather, we will pray now, for that is not what was intended of us."The matter was mentioned to the Prophet ﷺ, and he did not rebuke either group.

Azami 8939

Sahih

عن ابن عمر قال

قال النبي ﷺ يوم الأحزاب: لا يصلين أحد العصر إلا في بني قريظة فأدرك بعضهم العصر في الطريق، فقال بعضهم: لا نصلي حتى نأتيها، وقال بعضهم: بل نصلي، لم يرد منا ذلك، فذكر ذلك للنبي ﷺ فلم يعنف واحدا منهم.

الأعظمي 8939صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expedition of Banu Qurayzah
Section
Hastening to attack Banu Qurayzah
Numbering
Jami al-Kamil 8939 (2nd edition)
Azami 8939