The Prophet ﷺ said, "Allah does not accept charity from stolen war booty, nor prayer without purification."
عن النبي ﷺ قال: لا يقبل الله عز وجل صدقة من غلول، ولا صلاة بغير طهور.
Abu Dawud (59), Nasai (139), and Ibn Majah (271) all narrated it through the route of Qatada, from Abu Malih bin Usama, from Usama bin Umayr Huzali, who related the hadith. Its isnad is sahih.Abu Malih is Amir, though some say Zayd, and others say Ziyad bin Usama bin Umayr. Abu Zura and others deemed him trustworthy, and the whole community of hadith compilers narrated from him.This same meaning has been reported from others besides these, but all of them contain defects.