A man from the Companions of the Prophet ﷺ died on the day of Khaybar. They mentioned the matter to the Messenger of Allah. He said: Offer prayer over your companion. When the faces of the people looked perplexed, he said: Your companion misappropriated booty in the path of Allah. We searched his belongings and found some Jewish beads not worth two dirhams. (Using translation from Abū Dāʾūd 2710)
أَنَّ رَجُلًا مِنْ أَصْحَابِ النَّبِيِّ ﷺ مِنْ أَشْجَعَ تُوُفِّيَ وَأَنَّهُمْ ذَكَرُوهُ لِرَسُولِ اللهِ ﷺ فَقَالَ «صَلُّوا عَلَى صَاحِبِكُمْ» فَتَغَيَّرَتْ وُجُوهُ الْقَوْمِ لِذَلِكَ فَلَمَّا رَأَى الَّذِي بِهِمْ قَالَ «إِنَّ صَاحِبَكُمْ غَلَّ فِي سَبِيلِ اللهِ» فَفَتَّشْنَا مَتَاعَهُ فَوَجَدْنَا خَرَزًا مِنْ خَرَزِ الْيَهُودٍ مَا يُسَاوِي دِرْهَمَيْنِ