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.
English reference: Vol. 1, Book 1, Hadith 139
Arabic reference: Book 1, Hadith 140