Mishkat al-Masabih
Ibn 'Umar said that if anyone buys a garment for ten dirhams among which is one unlawfully acquired, God most high will not accept prayer from him as long as he wears it. He then put a finger in each ear and said, “May they become deaf if the Prophet (ﷺ) was not the one I heard say it!” Baihaqi transmitted it in Shu'ab al-iman, saying that its isnad is weak.
وَعَن ابنِ عُمَرَ قَالَ: مَنِ اشْتَرَى ثَوْبًا بِعَشَرَةِ دَرَاهِمَ وَفِيهِ دِرْهَمٌ حَرَامٌ لَمْ يَقْبَلِ اللَّهُ لَهَ صَلَاةً مَا دَامَ عَلَيْهِ ثُمَّ أَدْخَلَ أُصْبَعَيْهِ فِي أُذُنَيْهِ وَقَالَ صُمَّتَا إِنْ لَمْ يَكُنِ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ سَمِعْتُهُ يَقُولُهُ. رَوَاهُ أَحْمَدُ وَالْبَيْهَقِيُّ فِي شُعَبِ الْإِيمَانِ. وَقَالَ: إِسْنَادُهُ ضَعِيف
Reference