ENOfficial
Narrated Abu Hurairah (ra): The Prophet (ﷺ) said "Certainly a time will come when people will not bother to know from where they earned the money, by lawful means or unlawful means." (See Hadith no. 2050)
Source: sunnah.com
Other translations
Arabic
حَدَّثَنَا آدَمُ، حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ، حَدَّثَنَا سَعِيدٌ الْمَقْبُرِيُّ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ " لَيَأْتِيَنَّ عَلَى النَّاسِ زَمَانٌ لاَ يُبَالِي الْمَرْءُ بِمَا أَخَذَ الْمَالَ، أَمِنْ حَلاَلٍ أَمْ مِنْ حَرَامٍ ".
sunnah.com