Yazid reported that Abu Amra, the freed slave of Zayd bin Khalid al-Juhani, heard Zayd bin Khalid al-Juhani relate that a man from among the Muslims died at Khaybar. When this was mentioned to the Messenger of Allah ﷺ, he said, "Pray over your companion."The faces of the people changed at this. When he saw their reaction, he said, "Your companion took from the spoils unlawfully in the cause of Allah."So we searched his belongings and found among them some beads of the Jews worth no more than two dirhams.
حدثنا ابن نمير عن يحيى بن سعيد عن محمد بن يحيى ح ويزيد قال حدثنا يحيى بن سعيد عن محمد بن يحيى عن ابن أبي عمرة عن أبي عمرة أنه سمع
قال يزيد أن أبا عمرة مولى زيد بن خالد الجهني أنه سمع زيد بن خالد الجهني يحدث أن رجلا من المسلمين توفي بخيبر وأنه ذكر لرسول الله ﷺ فقال صلوا على صاحبكم قال فتغيرت وجوه القوم لذلك فلما رأى الذي بهم قال إن صاحبكم غل في سبيل الله ففتشنا متاعه فوجدنا فيه خرزا من خرز اليهود ما يساوي درهمين
Its isnad is sahih, but this is an ocean in which many drown. Here the value of tracing hadith sources becomes clear, and one comes to realize what would be known had the one whom Allah preserves been explicit about the science of the narrators. Whoever searches for Muhammad bin Yahya in the biographical dictionaries will not find him this way, because he does not appear among the teachers of Yahya bin Saeed Qattan, nor among those who narrated from Ibn Abu Amrah.Rather, he is Muhammad bin Yahya bin Habban, as found in Abu Dawud and Nasai. Ibn Abu Amrah is Abdul-Rahman bin Abu Rijal, who is truthful and has been deemed reliable by the scholars. His father is Muhammad bin Abdul-Rahman bin Haritha, and Amrah was his mother. He was deemed reliable by Nasai, Abu Dawud, Ibn Hibban, and others.The hadith was narrated by Abu Dawud (3/68, no. 2710) in the Book of Jihad, chapter on the seriousness of misappropriating war spoils, and by Nasai (4/64, no. 1095) in the Book of Funerals, chapter on the funeral prayer for one who misappropriated spoils, and by Ibn Majah (2/950, no. 2848), and by Hakim (2/127), with whom Dhahabi agreed, and by Bayhaqi (9/101), on the point that no one narrated it from Ibn Abu Amrah except Ibn Majah and Ahmad, and all of them said, "Muhammad bin Yahya bin Habban, from Abu Amrah."