عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «طَلَبُ كَسْبِ الْحَلَالِ فَرِيضَةٌ بَعْدَ الْفَرِيضَةِ» . رَوَاهُ الْبَيْهَقِيُّ فِي شعب الْإِيمَان
Translation

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.