Abdullah bin Umar reported,

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

Azami 2918

Sahih

عن ابن عمر قال

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

الأعظمي 2918صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Prayer of fear
Section
Prayer of the pursuer and the pursued while riding, with gestures
Numbering
Jami al-Kamil 2918 (2nd edition)
Azami 2918