Sahih al-Bukhari 4136
(through another group of narrators) Jabir said:
"We were in the company of the Prophet (during the 
battle of) Dhat-ur-Riqa', and we came across a shady tree and we left it for the Prophet (to take rest 
under its shade). A man from the pagans came while the Prophet's sword was hanging on the tree. He 
took it out of its sheath secretly and said (to the Prophet (ﷺ) ), 'Are you afraid of me?' The Prophet (ﷺ) said, 
'No.' He said, 'Who can save you from me?' The Prophet (ﷺ) said, Allah.' The companions of the Prophet (ﷺ) 
threatened him, then the Iqama for the prayer was announced and the Prophet (ﷺ) offered a two rak`at 
Fear prayer with one of the two batches, and that batch went aside and he offered two rak`a-t with the 
other batch. So the Prophet (ﷺ) offered four rak`at but the people offered two rak`at only." (The subnarrator) 
Abu Bishr added, "The man was Ghaurath bin Al-Harith and the battle was waged against 
Muharib Khasafa."
وَقَالَ أَبَانُ حَدَّثَنَا يَحْيَى بْنُ أَبِي كَثِيرٍ، عَنْ أَبِي سَلَمَةَ، عَنْ جَابِرٍ، قَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم بِذَاتِ الرِّقَاعِ، فَإِذَا أَتَيْنَا عَلَى شَجَرَةٍ ظَلِيلَةٍ تَرَكْنَاهَا لِلنَّبِيِّ صلى الله عليه وسلم، فَجَاءَ رَجُلٌ مِنَ الْمُشْرِكِينَ وَسَيْفُ النَّبِيِّ صلى الله عليه وسلم مُعَلَّقٌ بِالشَّجَرَةِ فَاخْتَرَطَهُ فَقَالَ تَخَافُنِي قَالَ ‏"‏ لاَ ‏"‏‏.‏ قَالَ فَمَنْ يَمْنَعُكَ مِنِّي قَالَ ‏"‏ اللَّهُ ‏"‏‏.‏ فَتَهَدَّدَهُ أَصْحَابُ النَّبِيِّ صلى الله عليه وسلم، وَأُقِيمَتِ الصَّلاَةُ فَصَلَّى بِطَائِفَةٍ رَكْعَتَيْنِ، ثُمَّ تَأَخَّرُوا، وَصَلَّى بِالطَّائِفَةِ الأُخْرَى رَكْعَتَيْنِ، وَكَانَ لِلنَّبِيِّ صلى الله عليه وسلم أَرْبَعٌ وَلِلْقَوْمِ رَكْعَتَيْنِ‏.‏ وَقَالَ مُسَدَّدٌ عَنْ أَبِي عَوَانَةَ عَنْ أَبِي بِشْرٍ اسْمُ الرَّجُلِ غَوْرَثُ بْنُ الْحَارِثِ، وَقَاتَلَ فِيهَا مُحَارِبَ خَصَفَةَ‏.‏