We set out with the Messenger of Allah ﷺ until we reached Dhat al-Riqa. He said, 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, then said to the Messenger of Allah ﷺ, "Do you fear me?"He replied, "No."The man said, "Then who will protect you from me?"He 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, and he prayed two rakahs with one group, after which they withdrew, and he prayed two rakahs with the other group. So the Messenger of Allah ﷺ performed four rakahs, while the people performed two each.
حدثنا أبو بكر بن أبي شيبة حدثنا عفان حدثنا أبان بن يزيد حدثنا يحيى بن أبي كثير عن أبي سلمة
أقبلنا مع رسول الله ﷺ حتى إذا كنا بذات الرقاع قال كنا إذا أتينا على شجرة ظليلة تركناها لرسول الله ﷺ قال فجاء رجل من المشركين وسيف رسول الله ﷺ معلق بشجرة فأخذ سيف نبي الله ﷺ فاخترطه فقال لرسول الله ﷺ أتخافني قال لا قال فمن يمنعك مني قال الله يمنعني منك قال فتهدده أصحاب رسول الله ﷺ فأغمد السيف وعلقه قال فنودي بالصلاة فصلى بطائفة ركعتين ثم تأخروا وصلى بالطائفة الأخرى ركعتين قال فكانت لرسول الله ﷺ أربع ركعات وللقوم ركعتان