It wasnarrated that Zaid bin Khalid Al-Juhani said:
"A man from (thetribe of) Ashja' died in Khaibar, and the Prophet (ﷺ) said:'Offer the funeral prayer for your companion.' The people foundthat strange.* When he saw that, he said: 'Your companion stolefrom the spoils of war (when fighting) in the cause of Allah.'" (FR)
English reference (FR): Vol. 4, Book 24, Hadith 2848 (FR)
Arabic reference (FR): Book 24, Hadith 2956 (FR)