Jabir bin Abdullah reported,

We set out with the Messenger of Allah ﷺ until we reached Dhat al-Riqa. Whenever we came upon a shady tree, we would leave it for the Messenger of Allah ﷺ.A man from the polytheists came while the sword of the Messenger of Allah ﷺ was hanging on a tree. He took the sword of the Prophet of Allah ﷺ and unsheathed it.He said to the Messenger of Allah ﷺ, "Do you fear me?"The Messenger of Allah ﷺ replied, "No."The man asked, "Then who will protect you from me?"The Messenger of Allah ﷺ answered, "Allah will protect me from you."The companions of the Messenger of Allah ﷺ threatened him, so he sheathed the sword and hung it back up.Then the call to prayer was made. He led one group in two units of prayer, then they withdrew, and he led the other group in two units of prayer. So the Messenger of Allah ﷺ prayed four units, while the people prayed two each.

Azami 9095

Sahih

عن جابر قال

أقبلنا مع رسول الله ﷺ، حتى إذا كنا بذات الرقاع، قال: كنا إذا أتينا على شجرة ظليلة تركناها لرسول الله ﷺ، قال: فجاء رجل من المشركين وسيف رسول الله ﷺ معلق بشجرة. فأخذ سيف نبي الله ﷺ فاختر طه. فقال الرسول الله ﷺ: أتخافني؟ قال: لا قال: فمن يمنعك مني؟ قال: الله يمنعني منك قال: فتهدده أصحاب رسول الله ﷺ. فأغمد السيف وعلقه. قال: فنودي بالصلاة فصلى بطائفة ركعتين ثم تأخروا وصلى بالطائفة الأخرى ركعتين. قال: فكانت الرسول الله ﷺ أربع ركعات وللقوم ركعتان.

الأعظمي 9095صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Expeditions that occurred after the conquest of Khaybar and before Amra al-Qadiyyah
Section
Salat al-Khawf during the expedition of Dhat al-Riqa
Numbering
Jami al-Kamil 9095 (2nd edition)
Azami 9095