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