“A man from (the
tribe of) Ashja’ died in Khaibar, and the Prophet (ﷺ) said:
‘Offer the funeral prayer for your companion.’ The people found
that strange.* When he saw that, he said: ‘Your companion stole
from the spoils of war (when fighting) in the cause of Allah.’”
Sunan Ibn Majah Book 24, Hadith 96