Abdullah bin Umar reported,

The Prophet ﷺ said on the day of the Confederates, "None of you should pray the afternoon prayer except at Banu Qurayzah."Some of them were overtaken by the time of the afternoon prayer while still on the way.Some said, "We will not pray until we reach the place."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.

Bukhari 4119

Sahih

حدثنا عبد الله بن محمد بن أسماء حدثنا جويرية بن أسماء عن نافع

عن ابن عمر رضي الله عنهما قال

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

البخاري 4119صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Prophet ﷺ returning from Ahzab and going out to Banu Qurayzah and besieging them
Numbering
Darussalam 4119
Bukhari 4119