The Prophet ﷺ said: Allah does not accept charity from goods acquired by embezzlement as He does not accept prayer without purification. (Using translation from Abū Dāʾūd 59)
سَمِعْتُ النَّبِيَّ ﷺ يَقُولُ لَا يَقْبَلُ اللهُ صَدَقَةً مِنْ غُلُولٍ وَلَا صَلَاةً بِغَيْرِ طُهُورٍ