Sunan an-Nasa'i, Book 1, Hadith 140 (In-Book)

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.

أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا أَبُو عَوَانَةَ، عَنْ قَتَادَةَ، عَنْ أَبِي الْمَلِيحِ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ لاَ يَقْبَلُ اللَّهُ صَلاَةً بِغَيْرِ طُهُورٍ وَلاَ صَدَقَةً مِنْ غُلُولٍ ‏" ‏ ‏.‏

sunnah.com