The Messenger of Allah ﷺ said, "Allah does not accept prayer without purification, nor does He accept charity from what has been taken dishonestly from war spoils."Abu Bakr bin Abu Shayba narrated to us, Ubayd bin Saeed and Shababa bin Sawwar narrated to us from Shuba a similar report.
حدثنا محمد بن بشار حدثنا يحيى بن سعيد ومحمد بن جعفر ح و حدثنا بكر بن خلف أبو بشر ختن المقرئ حدثنا يزيد بن زريع قالوا حدثنا شعبة عن قتادة عن أبي المليح بن أسامة عن أبيه
قال رسول الله ﷺ لا يقبل الله صلاة إلا بطهور ولا يقبل صدقة من غلول حدثنا أبو بكر بن أبي شيبة حدثنا عبيد بن سعيد وشبابة بن سوار عن شعبة نحوه
[Its chain of transmission is sahih] Abu Dawud narrated it in the Book of Purification, Chapter on the Obligation of Wudu, no. 59, from the hadith of Shubah, through this route, and Ibn Hibban graded it sahih.