It was narrated from Abu Al-Malih, that his father said:
"The Messenger of Allah (ﷺ) said: 'Allah does not accept Salah without purification, nor charity from Ghulul.'" [1][1] That which is taken from the spoils of war prior to their distribution. (AR)
English reference (AR): Vol. 1, Book 1, Hadith 139 (AR)
Arabic reference (AR): Book 1, Hadith 140 (AR)